bux API Reference 1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
Loading...
Searching...
No Matches
SafeArith.h File Reference
#include <limits>
Include dependency graph for SafeArith.h:

Go to the source code of this file.

Classes

struct  bux::Helper_::C_NoWrap< FLAG_signed, T >
 
struct  bux::Helper_::C_CmpRet< FLAG_integer, FLAG_signed, FLAG_overflow, T >
 
struct  bux::Helper_::C_NoWrap< true, T >
 
struct  bux::Helper_::C_NoWrap< false, T >
 
struct  bux::Helper_::C_CmpRet< true, FLAG_signed, false, T >
 
struct  bux::Helper_::C_CmpRet< FLAG_integer, false, FLAG_overflow, T >
 

Namespaces

namespace  bux
 THE common namespace of bux library.
 
namespace  bux::Helper_
 

Functions

template<class T >
bux::addNoWrap (T a, T b)
 
template<class T >
int bux::compareReturn (T a)