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
263 B
C++
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
|