23 #ifndef ICL_CORE_EXPLICIT_H_INCLUDED 24 #define ICL_CORE_EXPLICIT_H_INCLUDED 26 #include <boost/type_traits.hpp> 37 enum { EXPLICIT_TYPE_MEANING_MUST_BE_AN_EMPTY_CLASS_TYPE = 0 };
66 template <
typename T,
typename Meaning>
81 inline operator T ()
const {
return value; }
Explicit()
Default constructor does not initialize the value.
Internal helper class for icl_core::Explicit, do not use directly.
T value
The actual fundamental value.
Explicit(T value)
Construction from a fundamental value.