mirror of
https://github.com/boostorg/pfr.git
synced 2026-01-19 04:22:13 +00:00
Improve diagnostic for attempt to use get_name with non-external (#146)
Co-authored-by: Antony Polukhin <antoshkka@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ using namespace boost::pfr;
|
||||
template <class T, std::size_t I>
|
||||
inline constexpr auto no_check_stored_name_of_field = detail::name_of_field_impl<T,
|
||||
detail::make_clang_wrapper(std::addressof(detail::sequence_tuple::get<I>(
|
||||
detail::tie_as_tuple(detail::fake_object<T>)
|
||||
detail::tie_as_tuple(detail::fake_object<T>())
|
||||
)))
|
||||
>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user