llvm-project/libcxx
Howard Hinnant f9fd0d6d11 This is a followup to r194536, which changed the pair copy constructor to be
trivial in C++03, thus making it trivial in both C++03 and C++11.

This patch allows one to opt-in/out of this decision with a macro.  You can
choose to have the pair copy constructor always be trivial, or always be
non-trivial.  The flag controlling this is now _LIBCPP_TRIVIAL_PAIR_COPY_CTOR.

The client can define this flag to 1, and the pair copy constructor will be
trivial (when possible of course), or to 0, and the pair copy constructor will
be nontrivial.

Default settings for this flag are set in <__config> (as usual).  With this
commit the default is _LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1 for all platforms
except __APPLE__, which defaults to _LIBCPP_TRIVIAL_PAIR_COPY_CTOR=0.

llvm-svn: 194742
2013-11-14 22:52:25 +00:00
..
cmake Explicitly specify -Wno-error if LIBCXX_ENABLE_WERROR is false. 2013-10-02 07:44:19 +00:00
include This is a followup to r194536, which changed the pair copy constructor to be 2013-11-14 22:52:25 +00:00
lib G M: Remove unneeded warnings in buildit that are hindering porting. 2013-10-05 00:13:31 +00:00
src Patch from Bruce Mitchener; fixes two typos in comments. No functionality change. PR17843 2013-11-11 23:27:19 +00:00
test Fixed bug in quoted strings implementation. Added test to be sure. Thanks to Peter Sommerlad for the report (and suggested fix) 2013-11-14 20:01:38 +00:00
www Fix LWG Issue 2078. Make std::async(policy,...) try multiple policies until one succeeds. 2013-11-03 15:43:35 +00:00
.arcconfig Add a simple .arcconfig to make using the 'arc' commandline tool and the 2012-12-31 05:59:45 +00:00
CMakeLists.txt Patch by GM: Turn off 'deprecated' warnings when building with MSVC, and add '-Werror=return-type' to catch funtions that aren't returning what they should. 2013-10-21 15:56:35 +00:00
CREDITS.TXT Updated my role 2013-09-28 01:25:55 +00:00
LICENSE.TXT Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
Makefile Change makefile comment to refer to libc++ instead of libcpp. 2013-04-23 19:26:55 +00:00