mirror of
https://github.com/boostorg/utility.git
synced 2026-01-26 17:12:21 +01: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.