Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
scoped_enum.hpp File Reference
#include <boost/config.hpp>
Include dependency graph for scoped_enum.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::native_type< EnumType >
 

Namespaces

 boost
 Duration formatting facet for input.
 

Macros

#define BOOST_SCOPED_ENUM_UT_DECLARE_BEGIN(EnumType, UnderlyingType)   enum class EnumType : UnderlyingType
 
#define BOOST_SCOPED_ENUM_DECLARE_BEGIN(EnumType)   enum class EnumType
 
#define BOOST_SCOPED_ENUM_DECLARE_END2()
 
#define BOOST_SCOPED_ENUM_DECLARE_END(EnumType)   ;
 
#define BOOST_SCOPED_ENUM_NATIVE(EnumType)   EnumType
 
#define BOOST_SCOPED_ENUM_FORWARD_DECLARE(EnumType)   enum class EnumType
 
#define BOOST_SCOPED_ENUM_START(name)   BOOST_SCOPED_ENUM_DECLARE_BEGIN(name)
 
#define BOOST_SCOPED_ENUM_END   BOOST_SCOPED_ENUM_DECLARE_END2()
 
#define BOOST_SCOPED_ENUM(name)   BOOST_SCOPED_ENUM_NATIVE(name)
 

Functions

template<typename UnderlyingType , typename EnumType >
UnderlyingType boost::underlying_cast (EnumType v)
 
template<typename EnumType >
EnumType boost::native_value (EnumType e)
 

Macro Definition Documentation

#define BOOST_SCOPED_ENUM (   name)    BOOST_SCOPED_ENUM_NATIVE(name)
#define BOOST_SCOPED_ENUM_DECLARE_BEGIN (   EnumType)    enum class EnumType
#define BOOST_SCOPED_ENUM_DECLARE_END (   EnumType)    ;
#define BOOST_SCOPED_ENUM_DECLARE_END2 ( )
#define BOOST_SCOPED_ENUM_END   BOOST_SCOPED_ENUM_DECLARE_END2()
#define BOOST_SCOPED_ENUM_FORWARD_DECLARE (   EnumType)    enum class EnumType
#define BOOST_SCOPED_ENUM_NATIVE (   EnumType)    EnumType
#define BOOST_SCOPED_ENUM_START (   name)    BOOST_SCOPED_ENUM_DECLARE_BEGIN(name)
#define BOOST_SCOPED_ENUM_UT_DECLARE_BEGIN (   EnumType,
  UnderlyingType 
)    enum class EnumType : UnderlyingType