Regina Calculation Engine
|
A convenience base class for a function object, which does nothing beyond provide a ReturnType typedef. More...
#include <utilities/registryutils.h>
Public Types | |
typedef ReturnType_ | ReturnType |
Indicates the return type for a function object. More... | |
A convenience base class for a function object, which does nothing beyond provide a ReturnType typedef.
Specifically, a function object F that returns type T could inherit from the base class Returns<T>. This will ensure that F includes a typedef F::ReturnType representing type T.
See the three-argument forCoords() routine for an example of where such a function object might be used.
typedef ReturnType_ regina::Returns< ReturnType_ >::ReturnType |
Indicates the return type for a function object.