
6 Jun
2014
6 Jun
'14
11:30 p.m.
Vicente J. Botet Escriba wrote:
operator enum_type() const BOOST_NOEXCEPT { return get_native_value_(); }
I was expecting two implicit conversions: one from EnumType to enum_type and the other from enum_type to int. Am I missing something in C++98?
If enum_type is an enum type, its conversion to int is not user-defined and doesn't count.