Support Class Library
A set of tools providing classes and utility
Namespaces | Functions
fn_cast.h File Reference
#include <type_traits>
#include <scl/tools/meta/is_same.h>
#include <scl/tools/meta/fn_type.h>

Go to the source code of this file.

Namespaces

 scl
 Global namespace of the SCL.
 
 scl::tools
 General purpose tooling.
 
 scl::tools::meta
 A namespace englobing all the TMP tools.
 

Functions

template<class From , class Ret , class... Args>
constexpr fn_type< Ret, Args... > scl::tools::meta::fn_cast (From f)
 Cast a function from its type to determined type. More...
 
template<class From , class Class , class Ret , class... Args>
constexpr memfn_type< Class, Ret, Args... > scl::tools::meta::fn_cast (From f)
 Cast a member function from its type to determined type. More...