define_struct_inline.hpp 1.3 KB

1234567891011121314151617181920212223242526
  1. /*=============================================================================
  2. Copyright (c) 2012 Nathan Ridge
  3. Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. ==============================================================================*/
  6. #ifndef BOOST_FUSION_ADAPTED_STRUCT_DEFINE_STRUCT_INLINE_HPP
  7. #define BOOST_FUSION_ADAPTED_STRUCT_DEFINE_STRUCT_INLINE_HPP
  8. #include <boost/fusion/support/config.hpp>
  9. #include <boost/fusion/adapted/struct/adapt_struct.hpp>
  10. #include <boost/fusion/adapted/struct/detail/define_struct_inline.hpp>
  11. #define BOOST_FUSION_DEFINE_TPL_STRUCT_INLINE( \
  12. TEMPLATE_PARAMS_SEQ, NAME, ATTRIBUTES) \
  13. \
  14. BOOST_FUSION_DEFINE_TPL_STRUCT_INLINE_IMPL( \
  15. TEMPLATE_PARAMS_SEQ, \
  16. NAME, \
  17. ATTRIBUTES)
  18. #define BOOST_FUSION_DEFINE_STRUCT_INLINE(NAME, ATTRIBUTES) \
  19. BOOST_FUSION_DEFINE_STRUCT_INLINE_IMPL(NAME, ATTRIBUTES) \
  20. #endif