QuantumLibrary
Bloomberg::quantum::Function< RET(ARGS...)> Class Template Reference

#include <quantum_capture.h>

Public Member Functions

 Function (RET(*ptr)(ARGS...))
 
template<typename FUNCTOR >
 Function (FUNCTOR &&functor)
 
 Function (const Function< RET(ARGS...)> &other)
 
 Function (Function< RET(ARGS...)> &&other)
 
Functionoperator= (const Function< RET(ARGS...)> &other)
 
Functionoperator= (Function< RET(ARGS...)> &&other)
 
 ~Function ()
 
RET operator() (ARGS...args)
 
 operator bool () const
 

Constructor & Destructor Documentation

◆ Function() [1/4]

template<typename RET , typename ... ARGS>
Bloomberg::quantum::Function< RET(ARGS...)>::Function ( RET(*)(ARGS...)  ptr)

◆ Function() [2/4]

template<typename RET , typename ... ARGS>
template<typename FUNCTOR >
Bloomberg::quantum::Function< RET(ARGS...)>::Function ( FUNCTOR &&  functor)

◆ Function() [3/4]

template<typename RET , typename ... ARGS>
Bloomberg::quantum::Function< RET(ARGS...)>::Function ( const Function< RET(ARGS...)> &  other)

◆ Function() [4/4]

template<typename RET , typename ... ARGS>
Bloomberg::quantum::Function< RET(ARGS...)>::Function ( Function< RET(ARGS...)> &&  other)

◆ ~Function()

template<typename RET , typename ... ARGS>
Bloomberg::quantum::Function< RET(ARGS...)>::~Function ( )

Member Function Documentation

◆ operator bool()

template<typename RET , typename ... ARGS>
Bloomberg::quantum::Function< RET(ARGS...)>::operator bool ( ) const
explicit

◆ operator()()

template<typename RET , typename ... ARGS>
RET Bloomberg::quantum::Function< RET(ARGS...)>::operator() ( ARGS...  args)

◆ operator=() [1/2]

template<typename RET , typename ... ARGS>
Function< RET(ARGS...)> & Bloomberg::quantum::Function< RET(ARGS...)>::operator= ( const Function< RET(ARGS...)> &  other)

◆ operator=() [2/2]

template<typename RET , typename ... ARGS>
Function< RET(ARGS...)> & Bloomberg::quantum::Function< RET(ARGS...)>::operator= ( Function< RET(ARGS...)> &&  other)