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/to_view.hpp
Normal file
20
build-config/reflect-cpp/include/rfl/to_view.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef RFL_TO_VIEW_HPP_
|
||||
#define RFL_TO_VIEW_HPP_
|
||||
|
||||
#include <iostream>
|
||||
#include <stdexcept>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
|
||||
#include "internal/to_ptr_named_tuple.hpp"
|
||||
|
||||
namespace rfl {
|
||||
|
||||
template <class T>
|
||||
auto to_view(T& _t) {
|
||||
return internal::to_ptr_named_tuple(_t);
|
||||
}
|
||||
|
||||
} // namespace rfl
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user