forked from boostorg/utility
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.