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
15 lines
262 B
C++
15 lines
262 B
C++
#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
|