Subject: Re: [boost] New library proposal: Autodiff
From: Peter Dimov (lists_at_[hidden])
Date: 2018-12-19 20:44:48
John Maddock wrote:
> I get that, and haven't looked in detail at the code yet, but for the
> record, for Math heavy code, "if constexpr" is probably more useful than
> anything else in C++11 and 14....
In the specific case of
as far as I can see you can just drop the `constexpr` part from `if
constexpr` on pre-17 compilers and everything would work. But that's just
from a quick glance, I haven't tried it.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk