STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | List of all members
msl::utilities::details::SafeIntCompare< T, U > Class Template Reference

#include <safeint_internal.h>

Public Types

enum  {
  isBothSigned = (IntTraits< T >::isSigned && IntTraits< U >::isSigned), isBothUnsigned = (!IntTraits< T >::isSigned && !IntTraits< U >::isSigned), isLikeSigned = (IntTraits< T >::isSigned == IntTraits< U >::isSigned), isCastOK,
  isBothLT32Bit = (IntTraits< T >::isLT32Bit && IntTraits< U >::isLT32Bit), isBothLT64Bit = (IntTraits< T >::isLT64Bit && IntTraits< U >::isLT64Bit)
}
 

Member Enumeration Documentation

template<typename T, typename U>
anonymous enum
Enumerator
isBothSigned 
isBothUnsigned 
isLikeSigned 
isCastOK 
isBothLT32Bit 
isBothLT64Bit 
104  {
105  isBothSigned = (IntTraits< T >::isSigned && IntTraits< U >::isSigned),
106  isBothUnsigned = (!IntTraits< T >::isSigned && !IntTraits< U >::isSigned),
107  isLikeSigned = (IntTraits< T >::isSigned == IntTraits< U >::isSigned),
108  isCastOK = ((isLikeSigned && sizeof(T) >= sizeof(U)) ||
109  (IntTraits< T >::isSigned && sizeof(T) > sizeof(U))),
110  isBothLT32Bit = (IntTraits< T >::isLT32Bit && IntTraits< U >::isLT32Bit),
111  isBothLT64Bit = (IntTraits< T >::isLT64Bit && IntTraits< U >::isLT64Bit)
112  };
Definition: safeint_internal.h:108

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