Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
explicit_cast< T & > Class Template Reference
Being able to cast to non-const references does not work, since the compilers will refuse to apply such to a temporary.
More...
#include <stlsoft_explicit_cast.h>
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.
The documentation for this class was generated from the following file: