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/default.hpp
Normal file
14
build-config/reflect-cpp/include/rfl/default.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef RFL_DEFAULT_HPP_
|
||||
#define RFL_DEFAULT_HPP_
|
||||
|
||||
namespace rfl {
|
||||
|
||||
/// Helper class that can be passed to a field
|
||||
/// to trigger the default value of the type.
|
||||
struct Default {};
|
||||
|
||||
inline static const auto default_value = Default{};
|
||||
|
||||
} // namespace rfl
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user