Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:43:37

0001 // Copyright (c) 2023 Bela Schaum, X-Ryl669, Denis Mikhailov.
0002 //
0003 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0004 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0005 
0006 
0007 // Initial implementation by Bela Schaum, https://github.com/schaumb
0008 // The way to make it union and UB free by X-Ryl669, https://github.com/X-Ryl669
0009 //
0010 
0011 #ifndef BOOST_PFR_DETAIL_CORE_NAME_HPP
0012 #define BOOST_PFR_DETAIL_CORE_NAME_HPP
0013 #pragma once
0014 
0015 #include <boost/pfr/detail/config.hpp>
0016 
0017 // Each core_name provides `boost::pfr::detail::get_name` and
0018 // `boost::pfr::detail::tie_as_names_tuple` functions.
0019 //
0020 // The whole functional of extracting field's names is build on top of those
0021 // two functions.
0022 #if BOOST_PFR_CORE_NAME_ENABLED
0023 #include <boost/pfr/detail/core_name20_static.hpp>
0024 #else
0025 #include <boost/pfr/detail/core_name14_disabled.hpp>
0026 #endif
0027 
0028 #endif // BOOST_PFR_DETAIL_CORE_NAME_HPP
0029