21 Aug
2021
21 Aug
'21
7:05 p.m.
On Sat, Aug 21, 2021 at 5:56 PM Peter Dimov via Boost
It does. https://www.godbolt.org/z/KhPja6cEs
Ah my mistake. :( Do you then maybe know why boost clamp has commented out the assert in implementation? https://github.com/boostorg/algorithm/blob/c9077bd49580bddfaa8a5c71abc4022a2... I presumed it is to avoid problems with assert and constexpr, but as you now I learned assert works fine since C++14.