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:
22
build-config/reflect-cpp/include/rfl/remove_fields.hpp
Normal file
22
build-config/reflect-cpp/include/rfl/remove_fields.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef RFL_REMOVEFIELDS_HPP_
|
||||
#define RFL_REMOVEFIELDS_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
|
||||
#include "internal/StringLiteral.hpp"
|
||||
#include "internal/remove_fields.hpp"
|
||||
|
||||
namespace rfl {
|
||||
|
||||
/// Recursively removes all of the fields signified by _names from the
|
||||
/// NamedTupleType.
|
||||
template <class NamedTupleType, internal::StringLiteral... _names>
|
||||
using remove_fields_t =
|
||||
typename internal::remove_fields<std::remove_cvref_t<NamedTupleType>,
|
||||
_names...>::type;
|
||||
|
||||
} // namespace rfl
|
||||
|
||||
#endif // RFL_REMOVEFIELDS_HPP_
|
||||
Reference in New Issue
Block a user