VISH
0.2
|
An abstract base class for scalar functions on double values. More...
#include </home/werner/origo/vish/memcore/Functor.hpp>
An abstract base class for scalar functions on double values.
This class is intentionally NOT reference-countable such that also static instances can be created easily. Functors are supposed to be lightweight objects, but this abstract class allows for an virtual function call. In general, such should be avoided, and operators rather be called inline.