Files
libconfig/build-config/reflect-cpp/include/rfl/view_t.hpp
Emily Boudreaux ec13264050 feat(reflect-cpp): Switched from glaze -> reflect cpp
A bug was discovered in glaze which prevented valid toml output. We have
switched to toml++ and reflect-cpp. The interface has remained the same
so this should not break any code
2025-12-06 10:55:46 -05:00

21 lines
501 B
C++

#ifndef RFL_VIEW_T_HPP_
#define RFL_VIEW_T_HPP_
#include <type_traits>
#include "Processors.hpp"
#include "internal/ptr_named_tuple_t.hpp"
namespace rfl {
/// Generates the named tuple that would be the result of to_view
template <class T, class... Ps>
using view_t =
std::invoke_result_t<decltype(Processors<Ps...>::template process<
T, internal::ptr_named_tuple_t<T>>),
internal::ptr_named_tuple_t<T>>;
} // namespace rfl
#endif