sequencer
Public Member Functions | List of all members
sequencer::callable_t< ReturnType > Class Template Reference

#include <callable.hpp>

Public Member Functions

 callable_t () noexcept=default
 
template<class T , std::enable_if_t< !std::is_constructible< callable_t, T >::value > * = nullptr>
 callable_t (T &&value)
 
template<class T , std::enable_if_t< !std::is_constructible< callable_t, T >::value > * = nullptr>
callable_toperator= (T &&value)
 
 operator bool () const noexcept
 
ReturnType operator() () const
 

Constructor & Destructor Documentation

◆ callable_t() [1/2]

template<class ReturnType>
sequencer::callable_t< ReturnType >::callable_t ( )
defaultnoexcept

◆ callable_t() [2/2]

template<class ReturnType>
template<class T , std::enable_if_t< !std::is_constructible< callable_t, T >::value > * = nullptr>
sequencer::callable_t< ReturnType >::callable_t ( T &&  value)
inline

Member Function Documentation

◆ operator bool()

template<class ReturnType>
sequencer::callable_t< ReturnType >::operator bool ( ) const
inlineexplicitnoexcept

◆ operator()()

template<class ReturnType>
ReturnType sequencer::callable_t< ReturnType >::operator() ( ) const
inline

◆ operator=()

template<class ReturnType>
template<class T , std::enable_if_t< !std::is_constructible< callable_t, T >::value > * = nullptr>
callable_t& sequencer::callable_t< ReturnType >::operator= ( T &&  value)
inline

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