Subject: Re: [SG10] Jacksonville additions
From: Nelson, Clark (clark.nelson_at_[hidden])
Date: 2016-03-10 10:16:10
> On 3/9/2016 10:55 PM, Nelson, Clark wrote:
> >> I'd like to see a feature-test for LWG2296, "std::addressof
> >> be
> >> constexpr"
> > Would it not be possible to test for that using SFINAE, or some
> > template trick?
> Possibly, I can imagine a thing or two that might actually work with
> non-type template parameters. If it comes to that, however, I'd
> leave it as is or leave it broken for C++11/14 than to add more
> magic to that already partially broken SFINAE magic.
I am not a template metaprogrammer, so I definitely sympathize with
distaste for SFINAE tricks.
But there are also quite a few people in the world who have distaste
for the preprocessor. So I'm really reluctant to add a specific new
macro, where some existing template trickery could do the job instead.
SG10 list run by herb.sutter at gmail.com