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 Tue Feb 2 17:35:53 2010 for ACE by  doxygen 1.4.7