C++ Logo

sg12

Advanced search

Re: [SG12] [isocpp-core] Implementation defining undefined behavior

From: Herring, Davis <herring_at_[hidden]>
Date: Tue, 21 Sep 2021 15:52:13 +0000
> And enjoy much fun with SFINAE (and with extensions like VLAs).

I didn't say it was a good idea! You would, to be conforming, have to trigger substitution failures despite the fact that constant evaluation succeeded. You could even switch modes if you saw a non-SFINAE 1/0. (after issuing the required diagnostic), but that way lies madness.

Davis

Received on 2021-09-21 10:52:29