mirror of
https://github.com/boostorg/static_string.git
synced 2025-07-27 02:57:46 +02:00
Make erase follow preconditions
This commit is contained in:
@ -1608,11 +1608,6 @@ testErase()
|
||||
BOOST_TEST(s.erase(s.begin() + 1) == s.begin() + 1);
|
||||
BOOST_TEST(s == "ac");
|
||||
}
|
||||
{
|
||||
static_string<3> s{"abc"};
|
||||
BOOST_TEST(s.erase(s.begin() + 3) == s.end());
|
||||
BOOST_TEST(s == "abc");
|
||||
}
|
||||
|
||||
// erase(const_iterator first, const_iterator last)
|
||||
{
|
||||
|
Reference in New Issue
Block a user