4 Jun
2014
4 Jun
'14
9:09 p.m.
On Wednesday 04 June 2014 23:03:28 Vicente J. Botet Escriba wrote:
Le 04/06/14 22:28, Andrey Semashev a écrit :
While documenting and cleaning up scoped_enum.hpp I factored out the underlying_type trait to a separate header. Mostly, because I didn't want to #include
in scoped_enum.hpp. boost::underlying_type should be equivalent to std::underlying_type, except that it also supports emulated scoped enums. Perhaps boost/core/underlying_type.hpp should be moved to Boost.TypeTraits?
I have no problem with this move. We will need some documentation and test if it becomes public.
I've put a brief description in the scoped_enum.hpp docs. No tests though.