#include <Truncate.h>
Public Member Functions | |
| TO | operator() (FROM val) |
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 479 of file Truncate.h.
|
||||||||||
|
Definition at line 481 of file Truncate.h.
00482 {
00483 return static_cast<TO> (val);
00484 }
|
1.3.6