#include <stlsoft/conversion/any_cast.hpp>
This class helps overcome problems when external libraries have errors in their function parameter declarations, resulting in compilation-time type errors with some versions of the libraries, and not with others.
Public Types | |
Member Types | |
typedef any_caster< T, T1, T2, T3, T4, T5, T6, T7, T8 > | class_type |
Public Member Functions | |
Construction | |
any_caster (T t_) | |
Constructs an instance from the source type. | |
Conversion | |
operator T1 () const | |
operator T2 () const | |
operator T3 () const | |
operator T4 () const | |
operator T5 () const | |
operator T6 () const | |
operator T7 () const | |
operator T8 () const |
any_caster | ( | T | t_ | ) | [inline, explicit] |
Constructs an instance from the source type.