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
19 lines
327 B
C++
19 lines
327 B
C++
#ifndef RFL_INTERNAL_FIELD_TUPLE_T_HPP_
|
|
#define RFL_INTERNAL_FIELD_TUPLE_T_HPP_
|
|
|
|
#include <type_traits>
|
|
|
|
#include "copy_to_field_tuple.hpp"
|
|
|
|
namespace rfl {
|
|
namespace internal {
|
|
|
|
template <class T>
|
|
using field_tuple_t =
|
|
typename std::invoke_result<decltype(copy_to_field_tuple<T>), T>::type;
|
|
|
|
}
|
|
} // namespace rfl
|
|
|
|
#endif
|