llvm-project/libcxx/src
Louis Dionne e16f2cb678 [libc++] Take 2: Implement LWG 2510
Summary:
LWG2510 makes tag types like allocator_arg_t explicitly default
constructible instead of implicitly default constructible. It also
makes the constructors for std::pair and std::tuple conditionally
explicit based on the explicit-ness of the default constructibility
for the pair/tuple's elements.

This was previously committed as r372777 and reverted in r372832 due to
the commit breaking LLVM's build in C++14 mode. This issue has now been
addressed.

Reviewers: mclow.lists

Subscribers: christof, jkorous, dexonsmith, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D65161

llvm-svn: 372983
2019-09-26 14:51:10 +00:00
..
experimental Fix build in C++20 2019-09-13 15:13:11 +00:00
filesystem [libc++] Fix directory_iterator compilation on Win32 2019-08-31 23:17:38 +00:00
include [WebAssembly] WASI support for libcxx 2019-05-01 16:47:30 +00:00
support [libc++] Avoid using timespec when it might not be available 2019-06-21 08:33:47 +00:00
CMakeLists.txt [libc++] Only build with -fvisibility=hidden on Clang 2019-09-04 16:41:31 +00:00
algorithm.cpp [runtimes] Don't depend on libpthread on Android 2019-07-22 20:41:03 +00:00
any.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
bind.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
charconv.cpp [libc++] Fix leading zeros in std::to_chars 2019-06-10 17:11:46 +00:00
chrono.cpp [runtimes] Don't depend on libpthread on Android 2019-07-22 20:41:03 +00:00
condition_variable.cpp [runtimes] Don't depend on libpthread on Android 2019-07-22 20:41:03 +00:00
condition_variable_destructor.cpp Make ~mutex and ~condition_variable trivial on Windows. 2019-07-07 17:24:03 +00:00
debug.cpp [runtimes] Don't depend on libpthread on Android 2019-07-22 20:41:03 +00:00
exception.cpp [libc++] Remove redundant conditionals for Apple platforms 2019-04-23 14:05:04 +00:00
functional.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
future.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
hash.cpp [libc++] Avoid UB in the no-exceptions mode in a few places 2019-02-12 16:06:02 +00:00
ios.cpp [libc++] Avoid UB in the no-exceptions mode in a few places 2019-02-12 16:06:02 +00:00
iostream.cpp Only initialize the streams cout/wcout/cerr/wcerr etc once, rather than any time Init::Init is called. Fixes PR#43300 2019-09-13 15:28:06 +00:00
locale.cpp Fix a '>= 0' test on unsigned that I inadvertantly introduced. Now correctly '!= 0'. Thanks to Arthur for the catch 2019-06-17 13:41:14 +00:00
memory.cpp [runtimes] Don't depend on libpthread on Android 2019-07-22 20:41:03 +00:00
mutex.cpp [libc++] Take 2: Implement LWG 2510 2019-09-26 14:51:10 +00:00
mutex_destructor.cpp Fix PR27658 - Make ~mutex trivial when possible. 2019-07-07 01:20:54 +00:00
new.cpp [libc++][CMake] Remove unnecessary conditional for defining new handlers 2019-04-17 21:57:49 +00:00
optional.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
random.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
regex.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
shared_mutex.cpp [runtimes] Don't depend on libpthread on Android 2019-07-22 20:41:03 +00:00
stdexcept.cpp Fix ABI compatibility of `<stdexcept>` with VCRuntime. 2019-03-06 20:31:57 +00:00
string.cpp Recommit r362649, which was reverted in r262680 because of bugs in std::to_chars (which have now been fixed). Speedup to_string and to_wstring for integers using stack buffer and SSO 2019-06-10 23:20:01 +00:00
strstream.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
system_error.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
thread.cpp [runtimes] Don't depend on libpthread on Android 2019-07-22 20:41:03 +00:00
typeinfo.cpp [libc++] Remove redundant conditionals for Apple platforms 2019-04-23 14:05:04 +00:00
utility.cpp [libc++] Take 2: Implement LWG 2510 2019-09-26 14:51:10 +00:00
valarray.cpp [libc++] Always build with -fvisibility=hidden 2019-08-13 15:02:53 +00:00
variant.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
vector.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00