ACE
6.1.0
|
Helper function to truncate an integral value to the maximum value of the given type. More...
#include <Truncate.h>
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.