#include <constant.h>
Public Types | |
| typedef _Result | result_type |
| The result type. | |
Public Member Functions | |
Constructors etc. | |
| GeneratorConstant () | |
| Default constructor. Uninitialized value. | |
| GeneratorConstant (const result_type &x) | |
| Construct from the constant value. | |
Manipulators. | |
| void | set (const result_type &x) |
| Set the return value. | |
Functor. | |
| const result_type & | operator() () const |
| Return the constant value. | |
Related Functions | |
| (Note that these are not member functions.) | |
| GeneratorConstant< _Result > | constructGeneratorConstant (const _Result &x) |
Convenience function for constructing a GeneratorConstant. | |
| GeneratorConstant< _Result > | constructGeneratorConstant () |
Convenience function for constructing a GeneratorConstant. | |
1.4.7