<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 2, 2013 at 7:37 PM, Jonathan Sauer <span dir="ltr"><<a href="mailto:jonathan.sauer@gmx.de" target="_blank">jonathan.sauer@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
> This isn't an argument for not adding post-C++11 items to libc++.  It is simply an argument that we should provide a way for platforms and clients to choose:<br>
><br>
> 1.  What is the default C++ standard libc++ is going to adhere to for a given platform?<br>
<br>
The same standard that clang uses for compilation (-std=c++xx). Not sure if that would work with<br>
gcc, though.<br>
<br>
This might also be a problem when libc++ is shipped with the OS (as is the case on MacOS X).<br>
<br>
> 2.  How do clients override the default?<br>
<br>
By appropriately defining a configuration macro (like the already existing _LIBCPP_DEBUG2).<br>
<br>
How do the inline namespaces that libc++ already uses play into this?<br>
<br></blockquote><div><br></div><div>That's an interesting question, I think.<br><br></div><div>At what level of granularity should a client be able to "override" the default ? Personally, given the absence of guarantees in the "which header includes which other header" I believe that it should be set at library level.<br>
<br></div><div>And I agree with Jonathan that probably this should be reflected in an inline namespace "bump" to avoid accidental inconsistencies.<br><br></div><div>-- Matthieu<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
My 2 cents,<br>
Jonathan<br>
<br>
 </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div></div>