Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2024-12-13 17:53:23


Ruben Perez wrote:
> As a matter of curiosity: which compilers do not support
> __builtin_is_constant_evaluated? (as they will always get the slow memcpy
> implementation, even at runtime).

__builtin_is_constant_evaluated is supported by

* Clang 9 and above (https://godbolt.org/z/4obMEj9fc)
* GCC 9 and above (https://godbolt.org/z/5PdMsqezx)
* MSVC 19.25+ (VS2017.something)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk