<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, May 15, 2014 at 4:13 PM, Nelson, Clark <span dir="ltr"><<a href="mailto:clark.nelson@intel.com" target="_blank">clark.nelson@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I got a few comments today about SD-6 from Alisdair Meredith. Most of them<br>
were just pointing out that it needs to be updated, which we already knew,<br>
and which is in progress. But there are a few I thought I should pass along.<br>
<br>
> We added an 'is_final' type-trait at the last meeting too, not<br>
> sure what name to recommend (issue 2112) and 'is_null_pointer' at<br>
> Chicago (issue 2247)<br>
><br>
> We added 'make_reverse_iterator' to the <iterator> header (issue<br>
> 2285)<br>
<br>
It came as news to me that we, as a committee, have added features to the<br>
standard in response to issues (a.k.a. defect reports). Obviously, those of<br>
us who feel that's a bad idea in general might want to suggest that we be<br>
more careful to avoid that in the future. :-(<br>
<br>
But apparently we have some water under the bridge, and SG10 needs to decide<br>
whether these should have macros.<br></blockquote><div><br></div><div>I think an is_final feature-detection macro makes a lot of sense. Libraries that want to do EBO could reasonably want to use is_final && is_empty if is_final exists, and fall back to just using is_empty otherwise.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> Finally, do we want a feature to detect that 'gets' has finally<br>
> been removed? (NB comment GB 9 in N3733)<br>
<br>
I'm not even going to try to frame this question. :-/ (This is library issue<br>
2249, for anyone who wants more information.)<br></blockquote><div><br></div><div>I don't see any value in a macro for gets. Code that doesn't use gets doesn't need the macro, and code that uses it is neither portable to C++14 nor correct :-)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> Oh, and as a point of curiosity, it turned out that there is no<br>
> feature-detect macro for the C++11 feature I am trying to detect,<br>
> alias templates! I am surprised at just how useful I am finding<br>
> this feature at the moment, but mostly as a porting aid, saying<br>
> "this old code is now implemented using that new more<br>
> general/standard feature over there" (plus implementing the few<br>
> places that standard library mandates them).<br>
<br>
Is there anyone who thinks that this would not be a good idea? (This was<br>
adopted from N2258.)</blockquote><div><br></div><div>SGTM. __cpp_alias_templates?</div></div></div></div>