Subject: Re: [boost] [core] Move underlying_type to type_traits?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-06-04 17:09:23
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 <type_traits> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk