libpsynth 0.2.1
Public Member Functions
psynth::base::dynamic_functor< Ret, Args > Struct Template Reference

Useful when we need polymorphic functors. More...

#include <functor.hpp>

Inheritance diagram for psynth::base::dynamic_functor< Ret, Args >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~dynamic_functor ()
virtual Ret operator() (Args...args)=0

Detailed Description

template<typename Ret, typename... Args>
struct psynth::base::dynamic_functor< Ret, Args >

Useful when we need polymorphic functors.

Todo:
Move elsewhere?

Constructor & Destructor Documentation

template<typename Ret, typename... Args>
virtual psynth::base::dynamic_functor< Ret, Args >::~dynamic_functor ( ) [inline, virtual]

Member Function Documentation

template<typename Ret, typename... Args>
virtual Ret psynth::base::dynamic_functor< Ret, Args >::operator() ( Args...  args) [pure virtual]

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