group: internal changes (coding style)

This commit is contained in:
skypjack
2026-01-09 15:35:46 +01:00
parent 767013e0cb
commit 40109e9ae4

View File

@@ -73,19 +73,16 @@ public:
return it;
}
template<typename... Lhs, typename... Rhs>
friend constexpr bool operator==(const extended_group_iterator<Lhs...> &, const extended_group_iterator<Rhs...> &) noexcept;
template<typename... Args>
[[nodiscard]] constexpr bool operator==(const extended_group_iterator<Args...> &other) const noexcept {
return it == other.it;
}
private:
It it;
std::tuple<Owned *..., Get *...> pools;
};
template<typename... Lhs, typename... Rhs>
[[nodiscard]] constexpr bool operator==(const extended_group_iterator<Lhs...> &lhs, const extended_group_iterator<Rhs...> &rhs) noexcept {
return lhs.it == rhs.it;
}
struct group_descriptor {
using size_type = std::size_t;
virtual ~group_descriptor() = default;