Andrey Semashev 0106ffda5f Added string_view/ref::substr overloads taking no arguments.
This effectively adds support for pos=0 default argument value.
The separate overload is better as it avoids instantiating std::min,
boost::throw_exception and removes std::out_of_range construction, which
potentially reduces code size, while maintaining the same behavior.

Fixes https://github.com/boostorg/utility/issues/96.
2022-05-03 00:46:03 +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