STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | List of all members
msl::utilities::details::SubtractionMethod< 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 
2106  {
2107  // unsigned-unsigned
2108  method = ((IntRegion< T,U >::IntZone_UintLT32_UintLT32 ||
2109  (IntRegion< T,U >::IntZone_Uint32_UintLT64) ||
2110  (IntRegion< T,U >::IntZone_UintLT32_Uint32) ||
2111  (IntRegion< T,U >::IntZone_Uint64_Uint) ||
2112  (IntRegion< T,U >::IntZone_UintLT64_Uint64)) ? SubtractionState_BothUnsigned :
2113  // unsigned-signed
2114  (IntRegion< T,U >::IntZone_UintLT32_IntLT32) ? SubtractionState_CastIntCheckMinMax :
2115  (IntRegion< T,U >::IntZone_Uint32_IntLT64 ||
2116  IntRegion< T,U >::IntZone_UintLT32_Int32) ? SubtractionState_CastInt64CheckMinMax :
2117  (IntRegion< T,U >::IntZone_Uint64_Int ||
2118  IntRegion< T,U >::IntZone_Uint64_Int64) ? SubtractionState_Uint64Int :
2119  (IntRegion< T,U >::IntZone_UintLT64_Int64) ? SubtractionState_UintInt64 :
2120  // signed-signed
2121  (IntRegion< T,U >::IntZone_IntLT32_IntLT32) ? SubtractionState_CastIntCheckMinMax :
2122  (IntRegion< T,U >::IntZone_Int32_IntLT64 ||
2123  IntRegion< T,U >::IntZone_IntLT32_Int32) ? SubtractionState_CastInt64CheckMinMax :
2124  (IntRegion< T,U >::IntZone_Int64_Int ||
2125  IntRegion< T,U >::IntZone_Int64_Int64) ? SubtractionState_Int64Int :
2126  (IntRegion< T,U >::IntZone_IntLT64_Int64) ? SubtractionState_IntInt64 :
2127  // signed-unsigned
2128  (IntRegion< T,U >::IntZone_IntLT32_UintLT32) ? SubtractionState_CastIntCheckMin :
2129  (IntRegion< T,U >::IntZone_Int32_UintLT32 ||
2130  IntRegion< T,U >::IntZone_IntLT64_Uint32) ? SubtractionState_CastInt64CheckMin :
2131  (IntRegion< T,U >::IntZone_Int64_UintLT64) ? SubtractionState_Int64Uint :
2132  (IntRegion< T,U >::IntZone_Int_Uint64) ? SubtractionState_IntUint64 :
2133  (IntRegion< T,U >::IntZone_Int64_Uint64) ? SubtractionState_Int64Uint64 :
2135  };
Definition: safeint_internal.h:2085
Definition: safeint_internal.h:2099
Definition: safeint_internal.h:2081
Definition: safeint_internal.h:2086
Definition: safeint_internal.h:2082
Definition: safeint_internal.h:2084
Definition: safeint_internal.h:2108
Definition: safeint_internal.h:2083

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