Functions | |
template<typename U> | |
enable_if < boost::is_arithmetic< U >, U > ::type | eepgwde::detail::i0::null1 (dummy< 0 >=0) |
Any numeric types: use the system minimum. | |
template<typename U> | |
disable_if_c < boost::is_base_of < boost::any, U >::value||boost::is_arithmetic < U >::value||boost::is_arithmetic < typename U::value_type > ::value||boost::is_base_of < std::string, U >::value||!(boost::has_trivial_default_constructor < U >::value), U >::type | eepgwde::detail::i0::null1 (dummy< 1 >=1) |
The singleton class also maintains a list of type names and null0 values accepted and able to be rendered.
This uses some boost::type_traits. It can cover most plain-old numeric types, strings and dates. Special scaled Numeric classes can be handled.
This only creates the null0 value. The rendering is a another issue. The rendering as() methods use the relationships between the null0 types.
disable_if_c< boost::is_base_of< boost::any, U >::value||boost::is_arithmetic< U >::value||boost::is_arithmetic< typename U::value_type >::value||boost::is_base_of< std::string, U >::value||!(boost::has_trivial_default_constructor< U >::value), U >::type eepgwde::detail::i0::null1 | ( | dummy< 1 > | = 1 |
) | [inline] |
If all else fails assume it is a type with a default value constructor.
This should match all of those that aren't specified here.
If all else fails assume it is a type with a default value constructor.
This should match all of those that aren't specified here.
Definition at line 62 of file scalt4.cpp.
enable_if< boost::is_same< ql::Date, U >, U >::type eepgwde::detail::i0::null1 | ( | dummy< 0 > | = 0 |
) | [inline] |