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

Reduce instantiations count by dropping some of the rvalue overloads of internal methods; reduce detail stuff used for public functions; reduced includes count

This commit is contained in:
Antony Polukhin
2017-09-06 21:57:22 +03:00
parent 79a7a1b25d
commit 0cf44d634e
7 changed files with 31 additions and 29 deletions

View File

@@ -78,9 +78,6 @@ constexpr auto tie_as_tuple(T& val) noexcept {
return boost::pfr::detail::tie_as_tuple(val, fields_count_tag{});
}
template <class T>
using tie_as_tuple_t = decltype( ::boost::pfr::detail::tie_as_tuple(std::declval<T&>()) );
}}} // namespace boost::pfr::detail
#endif // BOOST_PFR_DETAIL_CORE17_GENERATED_HPP