draconisplusplus/include/rfl/internal/flattened_tuple_t.hpp

23 lines
472 B
C++
Raw Normal View History

2024-05-31 22:59:00 -04:00
#ifndef RFL_INTERNAL_FLATTENED_TUPLE_T_HPP_
#define RFL_INTERNAL_FLATTENED_TUPLE_T_HPP_
#include <functional>
#include <tuple>
#include <type_traits>
2024-06-08 14:10:59 -04:00
#include "../to_named_tuple.hpp"
2024-05-31 22:59:00 -04:00
#include "flattened_ptr_tuple_t.hpp"
#include "remove_ptrs_tup.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>
using flattened_tuple_t =
typename remove_ptrs_tup<flattened_ptr_tuple_t<T>>::TupleType;
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