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:
14
build-config/reflect-cpp/include/rfl/name_t.hpp
Normal file
14
build-config/reflect-cpp/include/rfl/name_t.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef RFL_NAME_T_HPP_
|
||||
#define RFL_NAME_T_HPP_
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
namespace rfl {
|
||||
|
||||
/// Convenience class to retrieve the name of a field.
|
||||
template <class FieldType>
|
||||
using name_t = typename std::remove_cvref_t<FieldType>::Name;
|
||||
|
||||
} // namespace rfl
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user