annotate DEPENDENCIES/generic/include/boost/fusion/adapted/struct/define_assoc_struct.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 /*=============================================================================
Chris@16 2 Copyright (c) 2010-2011 Christopher Schmidt
Chris@16 3
Chris@16 4 Distributed under the Boost Software License, Version 1.0. (See accompanying
Chris@16 5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 6 ==============================================================================*/
Chris@16 7
Chris@16 8 #ifndef BOOST_FUSION_ADAPTED_STRUCT_DEFINE_ASSOC_STRUCT_HPP
Chris@16 9 #define BOOST_FUSION_ADAPTED_STRUCT_DEFINE_ASSOC_STRUCT_HPP
Chris@16 10
Chris@101 11 #include <boost/fusion/support/config.hpp>
Chris@16 12 #include <boost/fusion/adapted/struct/adapt_assoc_struct.hpp>
Chris@16 13 #include <boost/fusion/adapted/struct/detail/define_struct.hpp>
Chris@16 14
Chris@101 15 #define BOOST_FUSION_DEFINE_ASSOC_STRUCT_FILLER_0(X, Y, Z) \
Chris@101 16 ((X, Y, Z)) BOOST_FUSION_DEFINE_ASSOC_STRUCT_FILLER_1
Chris@101 17 #define BOOST_FUSION_DEFINE_ASSOC_STRUCT_FILLER_1(X, Y, Z) \
Chris@101 18 ((X, Y, Z)) BOOST_FUSION_DEFINE_ASSOC_STRUCT_FILLER_0
Chris@101 19 #define BOOST_FUSION_DEFINE_ASSOC_STRUCT_FILLER_0_END
Chris@101 20 #define BOOST_FUSION_DEFINE_ASSOC_STRUCT_FILLER_1_END
Chris@101 21
Chris@16 22 #define BOOST_FUSION_DEFINE_ASSOC_TPL_STRUCT( \
Chris@16 23 TEMPLATE_PARAMS_SEQ, NAMESPACE_SEQ, NAME, ATTRIBUTES) \
Chris@16 24 \
Chris@16 25 BOOST_FUSION_DEFINE_TPL_STRUCT_IMPL( \
Chris@16 26 TEMPLATE_PARAMS_SEQ, \
Chris@16 27 (0)NAMESPACE_SEQ, \
Chris@16 28 NAME, \
Chris@16 29 BOOST_PP_CAT( \
Chris@101 30 BOOST_FUSION_DEFINE_ASSOC_STRUCT_FILLER_0(0,0,0)ATTRIBUTES,_END), \
Chris@16 31 3) \
Chris@16 32 \
Chris@16 33 BOOST_FUSION_ADAPT_ASSOC_TPL_STRUCT( \
Chris@16 34 TEMPLATE_PARAMS_SEQ, \
Chris@16 35 (BOOST_FUSION_ADAPT_STRUCT_NAMESPACE_DECLARATION((0)NAMESPACE_SEQ) NAME)\
Chris@16 36 TEMPLATE_PARAMS_SEQ, \
Chris@16 37 ATTRIBUTES)
Chris@16 38
Chris@16 39 #define BOOST_FUSION_DEFINE_ASSOC_STRUCT(NAMESPACE_SEQ, NAME, ATTRIBUTES) \
Chris@16 40 BOOST_FUSION_DEFINE_STRUCT_IMPL( \
Chris@16 41 (0)NAMESPACE_SEQ, \
Chris@16 42 NAME, \
Chris@16 43 BOOST_PP_CAT( \
Chris@101 44 BOOST_FUSION_DEFINE_ASSOC_STRUCT_FILLER_0(0,0,0)ATTRIBUTES,_END), \
Chris@16 45 3) \
Chris@16 46 \
Chris@16 47 BOOST_FUSION_ADAPT_ASSOC_STRUCT( \
Chris@16 48 BOOST_FUSION_ADAPT_STRUCT_NAMESPACE_DECLARATION((0)NAMESPACE_SEQ) NAME, \
Chris@16 49 ATTRIBUTES)
Chris@16 50
Chris@16 51 #endif