Botan 3.0.0-alpha0
Crypto and TLS for C&
Classes | Namespaces | Macros | Functions
safeint.h File Reference

Internal Header. More...

#include <botan/exceptn.h>
#include <string>

Go to the source code of this file.

Classes

class  Botan::Integer_Overflow_Detected
 

Namespaces

namespace  Botan
 

Macros

#define BOTAN_CHECKED_ADD(x, y)   checked_add(x,y,__FILE__,__LINE__)
 

Functions

size_t Botan::checked_add (size_t x, size_t y, const char *file, int line)
 
template<typename RT , typename AT >
RT Botan::checked_cast_to (AT i)
 

Detailed Description

Internal Header.

Definition in file safeint.h.

Macro Definition Documentation

◆ BOTAN_CHECKED_ADD

#define BOTAN_CHECKED_ADD (   x,
 
)    checked_add(x,y,__FILE__,__LINE__)

Definition at line 46 of file safeint.h.