#include <constants.hpp>
Structure that holds a constant with different numerical representation.
The Constant
class/struct provides a place to put * the actual definition of the value of each constant. * It also turns an implicit conversion operation * (which does not need any parentheses) into an explicit call to the * correct function that actually knows (and returns) the right value.
Public Member Functions | |
template<> | |
operator double () const | |
operator Rep () const | |