Files
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
309 B
C++

#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