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
This commit is contained in:
20
build-config/reflect-cpp/include/rfl/view_t.hpp
Normal file
20
build-config/reflect-cpp/include/rfl/view_t.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user