C++ Rest SDK
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Public Types | Public Member Functions | Static Public Attributes | List of all members
msl::safeint3::IntTraits< T > Class Template Reference

Public Types

enum  {
  isSigned = ( (T)(-1) < 0 ), is64Bit = ( sizeof(T) == 8 ), is32Bit = ( sizeof(T) == 4 ), is16Bit = ( sizeof(T) == 2 ),
  is8Bit = ( sizeof(T) == 1 ), isLT32Bit = ( sizeof(T) < 4 ), isLT64Bit = ( sizeof(T) < 8 ), isInt8 = ( sizeof(T) == 1 && isSigned ),
  isUint8 = ( sizeof(T) == 1 && !isSigned ), isInt16 = ( sizeof(T) == 2 && isSigned ), isUint16 = ( sizeof(T) == 2 && !isSigned ), isInt32 = ( sizeof(T) == 4 && isSigned ),
  isUint32 = ( sizeof(T) == 4 && !isSigned ), isInt64 = ( sizeof(T) == 8 && isSigned ), isUint64 = ( sizeof(T) == 8 && !isSigned ), bitCount = ( sizeof(T)*8 ),
  isBool = ( (T)2 == (T)1 )
}
 

Public Member Functions

 C_ASSERT (NumericType< T >::isInt)
 

Static Public Attributes

static const T maxInt = static_cast<T>(SafeIntMinMax< isSigned, bitCount >::max)
 
static const T minInt = static_cast<T>(SafeIntMinMax< isSigned, bitCount >::min)
 

The documentation for this class was generated from the following file: