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
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef RFL_PARSING_PARSER_NAMED_TUPLE_HPP_
|
||||
#define RFL_PARSING_PARSER_NAMED_TUPLE_HPP_
|
||||
|
||||
#include "NamedTupleParser.hpp"
|
||||
#include "Parser_base.hpp"
|
||||
|
||||
namespace rfl {
|
||||
namespace parsing {
|
||||
|
||||
template <class R, class W, class... FieldTypes, class ProcessorsType>
|
||||
requires AreReaderAndWriter<R, W, NamedTuple<FieldTypes...>>
|
||||
struct Parser<R, W, NamedTuple<FieldTypes...>, ProcessorsType>
|
||||
: public NamedTupleParser<
|
||||
R, W, /*_ignore_empty_containers=*/false,
|
||||
/*_all_required=*/ProcessorsType::all_required_,
|
||||
/*_no_field_names=*/ProcessorsType::no_field_names_, ProcessorsType,
|
||||
FieldTypes...> {
|
||||
};
|
||||
|
||||
} // namespace parsing
|
||||
} // namespace rfl
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user