File indexing completed on 2025-01-18 09:43:37
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_PFR_DETAIL_CORE_NAME14_DISABLED_HPP
0012 #define BOOST_PFR_DETAIL_CORE_NAME14_DISABLED_HPP
0013 #pragma once
0014
0015 #include <boost/pfr/detail/config.hpp>
0016 #include <boost/pfr/detail/sequence_tuple.hpp>
0017
0018 namespace boost { namespace pfr { namespace detail {
0019
0020 template <class T, std::size_t I>
0021 constexpr auto get_name() noexcept {
0022 static_assert(
0023 sizeof(T) && false,
0024 "====================> Boost.PFR: Field's names extracting functionality requires C++20."
0025 );
0026
0027 return nullptr;
0028 }
0029
0030 template <class T>
0031 constexpr auto tie_as_names_tuple() noexcept {
0032 static_assert(
0033 sizeof(T) && false,
0034 "====================> Boost.PFR: Field's names extracting functionality requires C++20."
0035 );
0036
0037 return detail::sequence_tuple::make_sequence_tuple();
0038 }
0039
0040 }}}
0041
0042 #endif
0043