HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
function_view< Ret(Params...)> Class Template Reference

#include <function_view.h>

Public Member Functions

 function_view ()=default
 
 function_view (std::nullptr_t)
 
template<typename Callable >
 function_view (Callable &&callable, typename std::enable_if< !std::is_same< typename std::remove_reference< Callable >::type, function_view >::value >::type *=nullptr)
 
Ret operator() (Params...params) const
 
 operator bool () const
 

Detailed Description

template<typename Ret, typename... Params>
class function_view< Ret(Params...)>

Definition at line 73 of file function_view.h.

Constructor & Destructor Documentation

template<typename Ret , typename... Params>
function_view< Ret(Params...)>::function_view ( )
default
template<typename Ret , typename... Params>
function_view< Ret(Params...)>::function_view ( std::nullptr_t  )
inline

Definition at line 86 of file function_view.h.

template<typename Ret , typename... Params>
template<typename Callable >
function_view< Ret(Params...)>::function_view ( Callable &&  callable,
typename std::enable_if< !std::is_same< typename std::remove_reference< Callable >::type, function_view< Ret(Params...)> >::value >::type = nullptr 
)
inline

Definition at line 89 of file function_view.h.

Member Function Documentation

template<typename Ret , typename... Params>
function_view< Ret(Params...)>::operator bool ( ) const
inline

Definition at line 104 of file function_view.h.

template<typename Ret , typename... Params>
Ret function_view< Ret(Params...)>::operator() ( Params...  params) const
inline

Definition at line 99 of file function_view.h.


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