File indexing completed on 2025-01-18 09:31:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_FUSION_ADAPTED_ADT_ADAPT_ADT_NAMED_HPP
0011 #define BOOST_FUSION_ADAPTED_ADT_ADAPT_ADT_NAMED_HPP
0012
0013 #include <boost/fusion/support/config.hpp>
0014 #include <boost/fusion/adapted/adt/adapt_adt.hpp>
0015 #include <boost/fusion/adapted/struct/detail/proxy_type.hpp>
0016
0017 #define BOOST_FUSION_ADAPT_ADT_NAMED_NS( \
0018 WRAPPED_TYPE, NAMESPACE_SEQ, NAME, ATTRIBUTES) \
0019 \
0020 BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE_IMPL( \
0021 WRAPPED_TYPE,(0)NAMESPACE_SEQ,NAME) \
0022 \
0023 BOOST_FUSION_ADAPT_ADT_AS_VIEW( \
0024 BOOST_FUSION_ADAPT_STRUCT_NAMESPACE_DECLARATION((0)NAMESPACE_SEQ)NAME, \
0025 ATTRIBUTES)
0026
0027 #define BOOST_FUSION_ADAPT_ADT_NAMED(WRAPPED_TYPE, NAME, ATTRIBUTES) \
0028 BOOST_FUSION_ADAPT_ADT_NAMED_NS( \
0029 WRAPPED_TYPE,(boost)(fusion)(adapted),NAME,ATTRIBUTES)
0030
0031 #endif