Andrey Semashev 581654e408 Use assert in string_view::remove_prefix/suffix to enforce preconditions.
This is in line with std::string_view::remove_prefix/suffix definition, where
calling the method with n > size() is UB. We're keeping the check to clamp
n to size() for now for backward compatibility so that it can be eventually
removed.

Closes https://github.com/boostorg/utility/issues/92.
2022-07-05 23:53:47 +03:00
..
2021-11-22 17:17:57 +03:00
2013-10-11 23:11:35 +00:00
2013-10-11 23:11:35 +00:00
2016-02-22 20:39:16 +01:00