meta-function object that returns the Rep type of a component
More...
#include <rep_of.h>
template<typename T>
struct cnl::rep_of< T >
meta-function object that returns the Rep type of a component
- Template Parameters
-
T | component whose representational type to return |
- Note
- The representational or 'Rep' type of a numeric component is central to CNL's method of encapsulation and abstraction. Typically, this is the type of the member variable in many of the numeric types. Many of the properties of a component – such as precision, range and signedness – will be established by the Rep type.
- See also
- to_rep, from_value, tag_of, set_rep