Files
libconfig/build-config/reflect-cpp/include/rfl/default.hpp
Emily Boudreaux ec13264050 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
2025-12-06 10:55:46 -05:00

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