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:
23
build-config/reflect-cpp/include/rfl/internal/lit_name.hpp
Normal file
23
build-config/reflect-cpp/include/rfl/internal/lit_name.hpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef RFL_INTERNAL_LIT_NAME_HPP_
|
||||
#define RFL_INTERNAL_LIT_NAME_HPP_
|
||||
|
||||
#include "../Literal.hpp"
|
||||
|
||||
namespace rfl {
|
||||
namespace internal {
|
||||
|
||||
template <class T>
|
||||
struct lit_name;
|
||||
|
||||
template <auto _name>
|
||||
struct lit_name<rfl::Literal<_name>> {
|
||||
constexpr static auto name_ = _name;
|
||||
};
|
||||
|
||||
template <class LiteralType>
|
||||
constexpr auto lit_name_v = lit_name<LiteralType>::name_;
|
||||
|
||||
} // namespace internal
|
||||
} // namespace rfl
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user