2
0
mirror of https://github.com/boostorg/pfr.git synced 2026-01-19 04:22:13 +00:00

Move some files and change header names

This commit is contained in:
Antony Polukhin
2016-07-18 23:46:45 +03:00
parent 9ecedfe6ca
commit 135faf692d
8 changed files with 12 additions and 6 deletions

View File

@@ -10,6 +10,6 @@
#include <boost/pfr/core.hpp>
#include <boost/pfr/functors.hpp>
#include <boost/pfr/pod_ops.hpp>
#include <boost/pfr/define_functions_for.hpp>
#include <boost/pfr/flat_ops.hpp>
#include <boost/pfr/flat_functions_for.hpp>

View File

@@ -1387,7 +1387,10 @@ constexpr auto as_tuple(T& val) noexcept {
return detail::as_tuple_impl(val, fields_count_tag{});
}
}}} // namespace boost::pfr
template <class T>
using as_tuple_t = decltype( ::boost::pfr::detail::as_tuple(std::declval<T&>()) );
}}} // namespace boost::pfr::detail
#endif // BOOST_PFR_CORE17_GENERATED_HPP

View File

@@ -60,7 +60,10 @@ constexpr auto as_tuple(T& val) noexcept {
return detail::as_tuple_impl(val, fields_count_tag{});
}
}}} // namespace boost::pfr
template <class T>
using as_tuple_t = decltype( ::boost::pfr::detail::as_tuple(std::declval<T&>()) );
}}} // namespace boost::pfr::detail
#endif // BOOST_PFR_CORE17_GENERATED_HPP
"""

View File

@@ -3,7 +3,7 @@
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/pfr/global_pod_ops.hpp>
#include <boost/pfr/global_flat_ops.hpp>
#include <boost/core/lightweight_test.hpp>
#include <iostream>

View File

@@ -3,7 +3,7 @@
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/pfr/pod_ops.hpp>
#include <boost/pfr/flat_ops.hpp>
#include <boost/core/lightweight_test.hpp>
#include <iostream>