1 // Copyright (c) 2016-2022 Antony Polukhin
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)
6 #ifndef BOOST_PFR_DETAIL_CORE_HPP
7 #define BOOST_PFR_DETAIL_CORE_HPP
10 #include <boost/pfr/detail/config.hpp>
12 // Each core provides `boost::pfr::detail::tie_as_tuple` and
13 // `boost::pfr::detail::for_each_field_dispatcher` functions.
15 // The whole PFR library is build on top of those two functions.
16 #if BOOST_PFR_USE_CPP17
17 # include <boost/pfr/detail/core17.hpp>
18 #elif BOOST_PFR_USE_LOOPHOLE
19 # include <boost/pfr/detail/core14_loophole.hpp>
21 # include <boost/pfr/detail/core14_classic.hpp>
24 #endif // BOOST_PFR_DETAIL_CORE_HPP