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
259 B
C++
15 lines
259 B
C++
#ifndef RFL_NUM_FIELDS_HPP_
|
|
#define RFL_NUM_FIELDS_HPP_
|
|
|
|
#include "internal/num_fields.hpp"
|
|
|
|
namespace rfl {
|
|
|
|
/// Returns the number of fields fields.
|
|
template <class T>
|
|
constexpr std::size_t num_fields = internal::num_fields<T>;
|
|
|
|
} // namespace rfl
|
|
|
|
#endif
|