stlsoft/conversion/union_cast.hpp File Reference


Detailed Description

[C++ only] Definition of the stlsoft::union_cast cast (Conversion Library).

#include <stlsoft/stlsoft.h>
#include <stlsoft/util/constraints.hpp>
#include <stlsoft/meta/base_type_traits.hpp>

Go to the source code of this file.

Namespaces

namespace  stlsoft

Classes

union  union_caster
 Cast class used by the union_cast cast function. More...

Functions

template<typename TO, typename FROM>
union_caster< TO, FROM, true > union_cast (FROM const from, bool bCheckAlign=true)
 A powerful cast operator that limits the danger of reinterpret_cast, while avoiding the spurious warnings issued by some compilers.
template<typename TO, typename FROM>
union_caster< TO, FROM, true > make_union_cast (FROM const from, bool bCheckAlign=true)
 [DEPRECATED] Synonym for stlsoft::union_cast().


Generated on Thu Jun 10 08:58:02 2010 for STLSoft by  doxygen 1.5.6