5 template<
class Target >
11 template<
class Target >
17 template<
class Target >
23 template<
class Target >
29 template<
class Target >
35 template<
class Target >
42 template<
class Target >
44 _type( typeid( std::decay_t< Target >() ) ),
45 _target( reinterpret_cast< void * >( target ) )
49 template<
class Target >
52 if( this->_type != std::decay_t< Target >() )
54 return reinterpret_cast< Target *
>( this->_target );
57 template<
class Target >
60 this->_type =
typeid( std::decay_t< Target >() );
61 this->_target =
reinterpret_cast< void *
>( target );