LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::Caster< To > Struct Template Reference

#include "functional.h"

Public Member Functions

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

Detailed Description

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

Definition at line 44 of file functional.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename To>
template<typename From>
std::enable_if_t<!std::is_base_of< To, std::decay_t< From > >::value, To > LC::Util::Caster< To >::operator() ( From && from) const
inline

Definition at line 47 of file functional.h.

◆ operator()() [2/2]

template<typename To>
template<typename From>
std::enable_if_t< std::is_base_of< To, std::decay_t< From > >::value, To > LC::Util::Caster< To >::operator() ( From && from) const
inline

Definition at line 53 of file functional.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17609.g3dde4097dd-build/leechcraft-0.6.70-17609-g3dde4097dd/src/util/sll/functional.h