2024-05-31 22:59:00 -04:00
|
|
|
#ifndef RFL_INTERNAL_PTR_FIELD_TUPLE_T_HPP_
|
|
|
|
#define RFL_INTERNAL_PTR_FIELD_TUPLE_T_HPP_
|
|
|
|
|
|
|
|
#include <functional>
|
|
|
|
#include <tuple>
|
|
|
|
#include <type_traits>
|
|
|
|
|
|
|
|
#include "is_named_tuple.hpp"
|
|
|
|
#include "to_ptr_named_tuple.hpp"
|
|
|
|
|
|
|
|
namespace rfl {
|
2024-06-08 14:10:59 -04:00
|
|
|
namespace internal {
|
2024-05-31 22:59:00 -04:00
|
|
|
|
2024-06-08 14:10:59 -04:00
|
|
|
template <class T>
|
2024-06-16 00:13:15 -04:00
|
|
|
using ptr_named_tuple_t = typename std::invoke_result<decltype(to_ptr_named_tuple<T>), T>::type;
|
2024-05-31 22:59:00 -04:00
|
|
|
|
2024-06-08 14:10:59 -04:00
|
|
|
} // namespace internal
|
|
|
|
} // namespace rfl
|
2024-05-31 22:59:00 -04:00
|
|
|
|
|
|
|
#endif
|