test: cleanup
This commit is contained in:
@@ -7,15 +7,9 @@ namespace test {
|
||||
|
||||
struct pointer_stable {
|
||||
static constexpr auto in_place_delete = true;
|
||||
[[nodiscard]] constexpr bool operator==(const pointer_stable &other) const noexcept = default;
|
||||
[[nodiscard]] constexpr auto operator<=>(const pointer_stable &other) const noexcept = default;
|
||||
int value{};
|
||||
|
||||
[[nodiscard]] constexpr bool operator==(const pointer_stable &other) const noexcept {
|
||||
return value == other.value;
|
||||
}
|
||||
|
||||
[[nodiscard]] constexpr auto operator<=>(const pointer_stable &other) const noexcept {
|
||||
return value <=> other.value;
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace test
|
||||
|
||||
Reference in New Issue
Block a user