|
The Vish Visualization Shell 0.3
Vish
|
An abstract base class for scalar functions on double values. More...
#include <elementary/memcore/Functor.hpp>
Public Member Functions | |
| virtual double | applyFunctor (double x) const =0 |
| Virtual function for operations on double's. | |
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.