ACE  6.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ACE_Utils::Safe_Comparator< LEFT, RIGHT, IS_LEFT_SIGNED, IS_RIGHT_SIGNED > Struct Template Reference

Conservative comparison of types that may not be safely promoted and/or converted to each other. More...

#include <Truncate.h>

Detailed Description

template<typename LEFT, typename RIGHT, bool IS_LEFT_SIGNED, bool IS_RIGHT_SIGNED>
struct ACE_Utils::Safe_Comparator< LEFT, RIGHT, IS_LEFT_SIGNED, IS_RIGHT_SIGNED >

Conservative comparison of types that may not be safely promoted and/or converted to each other.

The comparison operations provided by this structure perform negative value checking when necessary to prevent wrap-around when explicitly casting to an unsigned type.

This structure is not meant for general use.


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