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

#include <safeint_internal.h>

Public Types

enum  { method }
 

Member Enumeration Documentation

template<typename T , typename U >
anonymous enum
Enumerator
method 
2143  {
2144  // unsigned-unsigned
2145  method = ((IntRegion< T,U >::IntZone_UintLT32_UintLT32 ||
2146  (IntRegion< T,U >::IntZone_Uint32_UintLT64) ||
2147  (IntRegion< T,U >::IntZone_UintLT32_Uint32) ||
2148  (IntRegion< T,U >::IntZone_Uint64_Uint) ||
2149  (IntRegion< T,U >::IntZone_UintLT64_Uint64)) ? SubtractionState_BothUnsigned2 :
2150  // unsigned-signed
2151  (IntRegion< T,U >::IntZone_UintLT32_IntLT32) ? SubtractionState_CastIntCheckMinMax2 :
2152  (IntRegion< T,U >::IntZone_Uint32_IntLT64 ||
2153  IntRegion< T,U >::IntZone_UintLT32_Int32) ? SubtractionState_CastInt64CheckMinMax2 :
2154  (IntRegion< T,U >::IntZone_Uint64_Int ||
2155  IntRegion< T,U >::IntZone_Uint64_Int64) ? SubtractionState_Uint64Int2 :
2156  (IntRegion< T,U >::IntZone_UintLT64_Int64) ? SubtractionState_UintInt642 :
2157  // signed-signed
2158  (IntRegion< T,U >::IntZone_IntLT32_IntLT32) ? SubtractionState_CastIntCheckMinMax2 :
2159  (IntRegion< T,U >::IntZone_Int32_IntLT64 ||
2160  IntRegion< T,U >::IntZone_IntLT32_Int32) ? SubtractionState_CastInt64CheckMinMax2 :
2161  (IntRegion< T,U >::IntZone_Int64_Int ||
2162  IntRegion< T,U >::IntZone_Int64_Int64) ? SubtractionState_Int64Int2 :
2163  (IntRegion< T,U >::IntZone_IntLT64_Int64) ? SubtractionState_IntInt642 :
2164  // signed-unsigned
2165  (IntRegion< T,U >::IntZone_IntLT32_UintLT32) ? SubtractionState_CastIntCheckMinMax2 :
2166  (IntRegion< T,U >::IntZone_Int32_UintLT32 ||
2167  IntRegion< T,U >::IntZone_IntLT64_Uint32) ? SubtractionState_CastInt64CheckMinMax2 :
2168  (IntRegion< T,U >::IntZone_Int64_UintLT64) ? SubtractionState_Int64Uint2 :
2169  (IntRegion< T,U >::IntZone_Int_Uint64) ? SubtractionState_IntUint642 :
2170  (IntRegion< T,U >::IntZone_Int64_Uint64) ? SubtractionState_Int64Uint642 :
2172  };
Definition: safeint_internal.h:2096
Definition: safeint_internal.h:2099
Definition: safeint_internal.h:2092
Definition: safeint_internal.h:2097
Definition: safeint_internal.h:2093
Definition: safeint_internal.h:2145
Definition: safeint_internal.h:2094
Definition: safeint_internal.h:2095

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