mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 23:14:02 +00:00
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.