Public Types | Public Member Functions | List of all members
ecl::NullaryFunction< R > Class Template Referenceabstract

Virtual interface definition for nullary function objects. More...

#include <function_objects.hpp>

Public Types

typedef R result_type
 The result type. More...
 

Public Member Functions

virtual result_type operator() ()=0
 Virtual function call required by nullary function objects. More...
 
virtual ~NullaryFunction ()
 

Detailed Description

template<typename R = void>
class ecl::NullaryFunction< R >

Virtual interface definition for nullary function objects.

Virtual interface definition for nullary function objects (i.e. functions that take no arguments).

Template Parameters
R: the return type.
See also
FunctionObjects.

Definition at line 52 of file function_objects.hpp.

Member Typedef Documentation

◆ result_type

template<typename R = void>
typedef R ecl::NullaryFunction< R >::result_type

The result type.

Definition at line 64 of file function_objects.hpp.

Constructor & Destructor Documentation

◆ ~NullaryFunction()

template<typename R = void>
virtual ecl::NullaryFunction< R >::~NullaryFunction ( )
inlinevirtual

Definition at line 66 of file function_objects.hpp.

Member Function Documentation

◆ operator()()

template<typename R = void>
virtual result_type ecl::NullaryFunction< R >::operator() ( )
pure virtual

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


ecl_utilities
Author(s): Daniel Stonier
autogenerated on Sun Aug 2 2020 03:12:13