LeechCraft  0.6.70-6645-gcd10d7e
Modular cross-platform feature rich live environment.
LeechCraft::Util::Caster< To > Struct Template Reference

#include "functional.h"

Public Member Functions

template<typename From >
EnableIf_t<!std::is_base_of< To, Decay_t< From > >::value, To > operator() (From &&from) const
 
template<typename From >
EnableIf_t< std::is_base_of< To, Decay_t< From > >::value, To > operator() (From &&from) const
 

Detailed Description

template<typename To>
struct LeechCraft::Util::Caster< To >

Definition at line 86 of file functional.h.

Member Function Documentation

template<typename To >
template<typename From >
EnableIf_t<!std::is_base_of<To, Decay_t<From> >::value, To> LeechCraft::Util::Caster< To >::operator() ( From &&  from) const
inline

Definition at line 89 of file functional.h.

template<typename To >
template<typename From >
EnableIf_t<std::is_base_of<To, Decay_t<From> >::value, To> LeechCraft::Util::Caster< To >::operator() ( From &&  from) const
inline

Definition at line 95 of file functional.h.


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