STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | List of all members
msl::utilities::details::ValidComparison< 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 
460  {
461 #if _SAFEINT_USE_ANSI_CONVERSIONS
463 #else /* _SAFEINT_USE_ANSI_CONVERSIONS */
464  method = ( ( SafeIntCompare< T, U >::isLikeSigned ) ? ComparisonMethod_Ok :
465  ( ( IntTraits< T >::isSigned && sizeof(T) < 8 && sizeof(U) < 4 ) ||
466  ( IntTraits< U >::isSigned && sizeof(T) < 4 && sizeof(U) < 8 ) ) ? ComparisonMethod_CastInt :
467  ( ( IntTraits< T >::isSigned && sizeof(U) < 8 ) ||
468  ( IntTraits< U >::isSigned && sizeof(T) < 8 ) ) ? ComparisonMethod_CastInt64 :
469  ( !IntTraits< T >::isSigned ) ? ComparisonMethod_UnsignedT :
471 #endif /* _SAFEINT_USE_ANSI_CONVERSIONS */
472  };
Definition: safeint_internal.h:450
Definition: safeint_internal.h:449
Definition: safeint_internal.h:464
Definition: safeint_internal.h:451
Definition: safeint_internal.h:452
Definition: safeint_internal.h:448

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