mirror of
https://github.com/BlackMATov/flat.hpp.git
synced 2025-12-16 14:09:01 +07:00
remove heterogeneous erase
This commit is contained in:
@@ -424,7 +424,6 @@ TEST_CASE("flat_map") {
|
||||
REQUIRE(s0.upper_bound(std::string_view("hello")) == s0.begin() + 1);
|
||||
REQUIRE(my_as_const(s0).upper_bound(std::string_view("hello")) == s0.begin() + 1);
|
||||
|
||||
REQUIRE(s0.erase(std::string_view("hello")) == 1);
|
||||
REQUIRE(s0.at(std::string_view("world")) == 84);
|
||||
REQUIRE(my_as_const(s0).at(std::string_view("world")) == 84);
|
||||
}
|
||||
|
||||
@@ -426,7 +426,6 @@ TEST_CASE("flat_multimap") {
|
||||
REQUIRE(s0.upper_bound(std::string_view("hello")) == s0.begin() + 1);
|
||||
REQUIRE(my_as_const(s0).upper_bound(std::string_view("hello")) == s0.begin() + 1);
|
||||
|
||||
REQUIRE(s0.erase(std::string_view("hello")) == 1);
|
||||
REQUIRE(s0.at(std::string_view("world")) == 84);
|
||||
REQUIRE(my_as_const(s0).at(std::string_view("world")) == 84);
|
||||
}
|
||||
|
||||
@@ -401,8 +401,6 @@ TEST_CASE("flat_multiset") {
|
||||
|
||||
REQUIRE(s0.upper_bound(std::string_view("hello")) == s0.begin() + 1);
|
||||
REQUIRE(my_as_const(s0).upper_bound(std::string_view("hello")) == s0.begin() + 1);
|
||||
|
||||
REQUIRE(s0.erase(std::string_view("hello")) == 1);
|
||||
}
|
||||
SECTION("observers") {
|
||||
struct my_less {
|
||||
|
||||
@@ -399,8 +399,6 @@ TEST_CASE("flat_set") {
|
||||
|
||||
REQUIRE(s0.upper_bound(std::string_view("hello")) == s0.begin() + 1);
|
||||
REQUIRE(my_as_const(s0).upper_bound(std::string_view("hello")) == s0.begin() + 1);
|
||||
|
||||
REQUIRE(s0.erase(std::string_view("hello")) == 1);
|
||||
}
|
||||
SECTION("observers") {
|
||||
struct my_less {
|
||||
|
||||
Reference in New Issue
Block a user