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