File indexing completed on 2025-01-18 09:30:24
0001
0002
0003
0004
0005
0006
0007 #ifndef BOOST_CONTEXT_DETAIL_INDEX_SEQUENCE_H
0008 #define BOOST_CONTEXT_DETAIL_INDEX_SEQUENCE_H
0009
0010 #include <cstddef>
0011
0012 #include <boost/config.hpp>
0013
0014 #include <boost/context/detail/config.hpp>
0015
0016 #if defined(BOOST_CONTEXT_NO_CXX14_INTEGER_SEQUENCE)
0017 #include <boost/mp11/integer_sequence.hpp>
0018 #endif
0019
0020 #ifdef BOOST_HAS_ABI_HEADERS
0021 # include BOOST_ABI_PREFIX
0022 #endif
0023
0024 namespace boost {
0025 namespace context {
0026 namespace detail {
0027
0028 #if ! defined(BOOST_CONTEXT_NO_CXX14_INTEGER_SEQUENCE)
0029 template< std::size_t ... I >
0030 using index_sequence = std::index_sequence< I ... >;
0031 template< std::size_t I >
0032 using make_index_sequence = std::make_index_sequence< I >;
0033 template< typename ... T >
0034 using index_sequence_for = std::index_sequence_for< T ... >;
0035 #else
0036 template< std::size_t ... I >
0037 using index_sequence = mp11::index_sequence< I ... >;
0038 template< std::size_t I >
0039 using make_index_sequence = mp11::make_index_sequence< I >;
0040 template< typename ... T >
0041 using index_sequence_for = mp11::index_sequence_for< T ... >;
0042 #endif
0043
0044 }}}
0045
0046 #ifdef BOOST_HAS_ABI_HEADERS
0047 #include BOOST_ABI_SUFFIX
0048 #endif
0049
0050 #endif