No-op truncation. More...
#include <Truncate.h>
Public Member Functions | |
| TO | operator() (FROM val) |
No-op truncation.
This structure/functor performs no truncation since it assumes that sizeof(FROM) < sizeof(TO), meaning that numeric_limits<FROM>::max() < numeric_limits<TO>::max().
Definition at line 475 of file Truncate.h.
| TO ACE_Utils::Noop_Truncator< FROM, TO >::operator() | ( | FROM | val | ) | [inline] |
Definition at line 477 of file Truncate.h.
{
return static_cast<TO> (val);
}
1.7.0