Template Class NullaryFunctionCopy< FunctionObject, void >

Inheritance Relationships

Base Type

Class Documentation

template<typename FunctionObject>
class NullaryFunctionCopy<FunctionObject, void> : public ecl::NullaryFunction<void>

Specialisation of NullaryFunctionCopy for void return types.

Specialises the NullaryFunctionCopy class for void return types.

See also

FunctionObjects.

Template Parameters

FunctionObject – : type of the function object to be wrapped.

Public Functions

inline explicit NullaryFunctionCopy(const FunctionObject &f_o)

NullaryFunction child constructor for nullary function objects.

Creates a child of the NullaryFunction class by copying a nullary function object (one that is purely by definition).

Parameters

f_o – : the function object to be assigned to the NullaryFunction child.

inline virtual ~NullaryFunctionCopy()
inline virtual void operator()()

This ensures any children objects are deleted correctly.

The nullary function object call.

Redirects the call to the composited nullary function object call.