add observers interface

This commit is contained in:
2019-05-04 12:45:22 +07:00
parent b29067b6ed
commit d95c6f9b05
4 changed files with 41 additions and 0 deletions

View File

@@ -143,4 +143,10 @@ TEST_CASE("flat_set") {
s0.upper_bound(30);
my_as_const(s0).upper_bound(30);
}
SECTION("observers") {
using set_t = flat_set<int>;
set_t s0;
my_as_const(s0).key_comp();
my_as_const(s0).value_comp();
}
}