ACE  6.1.0
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.

Internal use only.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines