Files
reflect-cpp/include/rfl/internal/ptr_field_tuple_t.hpp
T
Txema Ynzenga 28c602e195 Remove boilerplate to rfl::internal::to_ptr_field_tuple
Also ensure the same behavioral changes that happened to
move/copy_to_field_tuple are actual for to_ptr_field_tuple by wrapping
in fields if necessary
2023-12-09 21:50:37 +01:00

20 lines
387 B
C++

#ifndef RFL_INTERNAL_PTR_NAMED_TUPLE_T_HPP_
#define RFL_INTERNAL_PTR_NAMED_TUPLE_T_HPP_
#include <functional>
#include <tuple>
#include <type_traits>
#include "rfl/internal/to_ptr_field_tuple.hpp"
namespace rfl {
namespace internal {
template <class T>
using ptr_field_tuple_t = decltype(to_ptr_field_tuple(std::declval<T&>()));
} // namespace internal
} // namespace rfl
#endif