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:
17
build-config/reflect-cpp/include/rfl/fields.hpp
Normal file
17
build-config/reflect-cpp/include/rfl/fields.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef RFL_FIELDS_HPP_
|
||||
#define RFL_FIELDS_HPP_
|
||||
|
||||
#include "internal/get_meta_fields.hpp"
|
||||
#include "named_tuple_t.hpp"
|
||||
|
||||
namespace rfl {
|
||||
|
||||
/// Returns meta-information about the fields.
|
||||
template <class T>
|
||||
auto fields() {
|
||||
return internal::get_meta_fields<named_tuple_t<T>>();
|
||||
}
|
||||
|
||||
} // namespace rfl
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user