Blame view

3rdparty/boost_1_81_0/boost/metaparse/sequence_apply.hpp 850 Bytes
63e88f80   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  #ifndef BOOST_METAPARSE_SEQUENCE_APPLY_HPP
  #define BOOST_METAPARSE_SEQUENCE_APPLY_HPP
  
  // Copyright Abel Sinkovics (abel@sinkovics.hu)  2015.
  // Distributed under the Boost Software License, Version 1.0.
  //    (See accompanying file LICENSE_1_0.txt or copy at
  //          http://www.boost.org/LICENSE_1_0.txt)
  
  #include <boost/metaparse/v1/sequence_apply.hpp>
  
  #include <boost/preprocessor/repetition/repeat_from_to.hpp>
  #include <boost/preprocessor/cat.hpp>
  
  namespace boost
  {
    namespace metaparse
    {
  #ifdef BOOST_METAPARSE_USING
  #  error BOOST_METAPARSE_USING already defined
  #endif
  #define BOOST_METAPARSE_USING(z, n, unused) \
      using BOOST_PP_CAT(v1::sequence_apply, n);
  
      BOOST_PP_REPEAT_FROM_TO(
        1,
        BOOST_METAPARSE_LIMIT_SEQUENCE_SIZE,
        BOOST_METAPARSE_USING,
        ~
      )
  
  #undef BOOST_METAPARSE_USING
    }
  }
  
  #endif