Files
libconfig/build-config/reflect-cpp/include/rfl/name_t.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
263 B
C++

#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