Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::underlying_type< EnumType > Struct Template Reference

Meta-function to get the underlying type of a scoped enum. More...

#include <underlying_type.hpp>

Inheritance diagram for boost::underlying_type< EnumType >:
Collaboration diagram for boost::underlying_type< EnumType >:

Public Types

typedef std::underlying_type
< EnumType >::type 
type
 

Detailed Description

template<typename EnumType>
struct boost::underlying_type< EnumType >

Meta-function to get the underlying type of a scoped enum.

Requires EnumType must be an enum type or the emulation of a scoped enum. If BOOST_NO_UNDERLYING_TYPE is defined, the implementation will not be able to deduce the underlying type of enums. The user is expected to specialize this trait in this case.

Member Typedef Documentation

typedef std::underlying_type< EnumType >::type boost::detail::underlying_type_impl< EnumType, Void >::type
inherited

The documentation for this struct was generated from the following file: