explicit_cast< T & > Class Template Reference
[Conversion Library]

#include <stlsoft/conversion/explicit_cast.hpp>

List of all members.

Detailed Description

template<typename T>
class stlsoft::explicit_cast< T & >

Being able to cast to non-const references does not work, since the compilers will refuse to apply such to a temporary.

Furthermore, it is too evil to contemplate (see Effective C++ #30) so we simply hide the constructor and conversion operator.

Public Types

typedef T value_type
typedef explicit_cast< T > class_type

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

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