File indexing completed on 2025-01-19 09:47:51
0001
0002
0003
0004
0005
0006
0007 #ifndef BOOST_SPIRIT_SCOPED_ENUM_EMULATION_HPP
0008 #define BOOST_SPIRIT_SCOPED_ENUM_EMULATION_HPP
0009
0010 #if defined(_MSC_VER)
0011 #pragma once
0012 #endif
0013
0014 #include <boost/version.hpp>
0015 #include <boost/config.hpp>
0016
0017 #if BOOST_VERSION >= 105600
0018 # include <boost/core/scoped_enum.hpp>
0019 #elif BOOST_VERSION >= 104000
0020 # include <boost/detail/scoped_enum_emulation.hpp>
0021 #else
0022 # if !defined(BOOST_NO_CXX11_SCOPED_ENUMS)
0023 # define BOOST_NO_CXX11_SCOPED_ENUMS
0024 # endif
0025 # define BOOST_SCOPED_ENUM_START(name) struct name { enum enum_type
0026 # define BOOST_SCOPED_ENUM_END };
0027 # define BOOST_SCOPED_ENUM(name) name::enum_type
0028 #endif
0029
0030 #endif