ACE  6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
ACE_Utils::Noop_Truncator< FROM, TO > Struct Template Reference

No-op truncation. More...

#include <Truncate.h>

Public Member Functions

TO operator() (FROM val)

Detailed Description

template<typename FROM, typename TO>
struct ACE_Utils::Noop_Truncator< FROM, TO >

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().

Member Function Documentation

template<typename FROM , typename TO >
TO ACE_Utils::Noop_Truncator< FROM, TO >::operator() ( FROM  val)

The documentation for this struct was generated from the following file: