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:
2025-12-06 10:55:46 -05:00
parent 2b5abeae58
commit ec13264050
365 changed files with 63946 additions and 357 deletions

View File

@@ -0,0 +1,24 @@
#ifndef RFL_INTERNAL_HASREFLECTOR_HPP_
#define RFL_INTERNAL_HASREFLECTOR_HPP_
namespace rfl {
template <typename T>
struct Reflector;
namespace internal {
template <typename Type>
concept has_write_reflector = requires(Type&& item) {
Reflector<Type>::from(item);
};
template <typename Type>
concept has_read_reflector =
requires(const typename Reflector<Type>::ReflType& item) {
Reflector<Type>::to(item);
};
} // namespace internal
} // namespace rfl
#endif