Boost logo

Boost :

From: Ivan Matek (libbooze_at_[hidden])
Date: 2021-08-21 19:13:51

P.S. I think gcc might have been reason why I misremembered how assert does
or does not work in constexpr, so maybe
that is the reason why it is commented out in clamp?
It was fixed few years ago(GCC 9).

On Sat, Aug 21, 2021 at 9:05 PM Ivan Matek <libbooze_at_[hidden]> wrote:

> On Sat, Aug 21, 2021 at 5:56 PM Peter Dimov via Boost <
> boost_at_[hidden]> wrote:
>> It does.
> Ah my mistake. :(
> Do you then maybe know why boost clamp has commented out the assert in
> implementation?
> I presumed it is to avoid problems with assert and constexpr, but as you
> now I learned assert works fine since C++14.

Boost list run by bdawes at, gregod at, cpdaniel at, john at