.
Some checks failed
PR Check / on-push-commit-check (push) Failing after 8m28s

This commit is contained in:
sha512sum 2024-11-08 11:51:22 +00:00
parent b60856055e
commit 03bf0b90d4

View file

@ -34,10 +34,6 @@ constexpr auto Serialize(xmlpp::Element* node, const T& element) -> void
template <typename T> template <typename T>
constexpr auto Serialize(xmlpp::Element* node, const T& element) -> void; constexpr auto Serialize(xmlpp::Element* node, const T& element) -> void;
struct AttributeConfig {
auto operator==(const AttributeConfig&) const -> bool = default;
};
template <typename T> template <typename T>
struct MetaInfo { struct MetaInfo {
static constexpr std::size_t kSize = boost::pfr::tuple_size_v<T>; static constexpr std::size_t kSize = boost::pfr::tuple_size_v<T>;
@ -71,6 +67,14 @@ struct Config {
std::optional<T> defaultValue; std::optional<T> defaultValue;
}; };
struct AttributeConfig {
auto operator==(const AttributeConfig&) const -> bool = default;
template <typename T>
constexpr auto operator==(const Config<T>&) const -> bool {
return false;
}
};
template <> template <>
struct Config<std::string> { struct Config<std::string> {
std::optional<std::string_view> defaultValue; std::optional<std::string_view> defaultValue;