define_struct_inline.hpp 1.3 KB

12345678910111213141516171819202122232425
  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/adapted/struct/adapt_struct.hpp>
  9. #include <boost/fusion/adapted/struct/detail/define_struct_inline.hpp>
  10. #define BOOST_FUSION_DEFINE_TPL_STRUCT_INLINE( \
  11. TEMPLATE_PARAMS_SEQ, NAME, ATTRIBUTES) \
  12. \
  13. BOOST_FUSION_DEFINE_TPL_STRUCT_INLINE_IMPL( \
  14. TEMPLATE_PARAMS_SEQ, \
  15. NAME, \
  16. ATTRIBUTES)
  17. #define BOOST_FUSION_DEFINE_STRUCT_INLINE(NAME, ATTRIBUTES) \
  18. BOOST_FUSION_DEFINE_STRUCT_INLINE_IMPL(NAME, ATTRIBUTES) \
  19. #endif