ACE  6.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
truncate_cast Class Reference

Helper function to truncate an integral value to the maximum value of the given type. More...

#include <Truncate.h>

Detailed Description

Helper function to truncate an integral value to the maximum value of the given type.

   Very useful since ACE methods return @c int very often and
   the value's source is often a different-size integral
   type, such as @c size_t.  This function hides the
   truncation logic and resolves compiler diagnostics.

Internal use only.


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