On 26/02/2025 16:22, Jonathan Wakely wrote:
Clang 17/18 rejects 'constexpr' on non-template functions that use
(non-constexpr) placement new but accepts it on templates (silently
dropping constexpr at instantiation time):https://godbolt.org/z/Tqnvc1f1W
So it seems Clang 17/18 behavior is consistent enough with P2448R2
that there should be no compatibility issues.
Oh great, thanks for checking.

EDG is also OK with it, I checked back to v6.0 from 2020.

So making it unconditionally constexpr seems fine then.

Whops, sorry, missed this sub-thread (while replying to the other one).
Change of plans then, I'll amend and remove the ad-hoc constexpr macro.

Thanks,
--
Giuseppe D'Angelo

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to