LeechCraft 0.6.70-14794-g33744ae6ce
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::Upcaster< To * > Struct Template Reference

#include "functional.h"

Public Member Functions

template<typename From , typename = std::enable_if_t<std::is_base_of_v<To, std::decay_t<From>>>>
To * operator() (From *from) const
 

Detailed Description

template<typename To>
struct LC::Util::Upcaster< To * >

Definition at line 63 of file functional.h.

Member Function Documentation

◆ operator()()

template<typename To >
template<typename From , typename = std::enable_if_t<std::is_base_of_v<To, std::decay_t<From>>>>
To * LC::Util::Upcaster< To * >::operator() ( From *  from) const
inline

Definition at line 66 of file functional.h.


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