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 int very often and the value's source is often a different-size integral type, such as size_t. This function hides the truncation logic and resolves compiler diagnostics.

For internal use only.

Internal use only.


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

Generated on Wed Apr 23 02:43:06 2008 for ACE by  doxygen 1.5.5