mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 00:26:19 +08:00
20 lines
365 B
C++
20 lines
365 B
C++
#ifndef RFL_INTERNAL_PTR_TUPLE_T_HPP_
|
|
#define RFL_INTERNAL_PTR_TUPLE_T_HPP_
|
|
|
|
#include <functional>
|
|
#include <type_traits>
|
|
|
|
#include "rfl/internal/to_ptr_tuple.hpp"
|
|
|
|
namespace rfl {
|
|
namespace internal {
|
|
|
|
template <class T>
|
|
using ptr_tuple_t =
|
|
typename std::invoke_result<decltype(to_ptr_tuple<T>), T>::type;
|
|
|
|
} // namespace internal
|
|
} // namespace rfl
|
|
|
|
#endif
|