]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/pfr/detail/core.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / pfr / detail / core.hpp
1 // Copyright (c) 2016-2022 Antony Polukhin
2 //
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_PFR_DETAIL_CORE_HPP
7 #define BOOST_PFR_DETAIL_CORE_HPP
8 #pragma once
9
10 #include <boost/pfr/detail/config.hpp>
11
12 // Each core provides `boost::pfr::detail::tie_as_tuple` and
13 // `boost::pfr::detail::for_each_field_dispatcher` functions.
14 //
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>
20 #else
21 # include <boost/pfr/detail/core14_classic.hpp>
22 #endif
23
24 #endif // BOOST_PFR_DETAIL_CORE_HPP