forked from OSchip/llvm-project
48f35e074e
Summary: This patch implements the variadic `lock_guard` paper. Making `lock_guard` variadic is a ABI breaking change because the specialization `lock_guard<_Mutex>` mangles differently then when it was the primary template. This change only provides variadic `lock_guard` in ABI V2 or when `_LIBCPP_ABI_VARIADIC_LOCK_GUARD` is defined. Note that in ABI V2 `lock_guard` must always be declared as a variadic template, even in C++03, in order to keep the ABI consistent. For this reason `lock_guard` is forward declared as a variadic template in all standard dialects and therefore depends on variadic templates being provided as an extension in C++03. All supported versions of Clang and GCC provide this extension. Reviewers: mclow.lists Subscribers: K-ballo, mclow.lists, cfe-commits Differential Revision: http://reviews.llvm.org/D21260 llvm-svn: 272634 |
||
---|---|---|
.. | ||
atomic_design.html | ||
atomic_design_a.html | ||
atomic_design_b.html | ||
atomic_design_c.html | ||
content.css | ||
cxx1y_status.html | ||
cxx1z_status.html | ||
debug_mode.html | ||
index.html | ||
menu.css | ||
results.Linux.html | ||
results.Windows.html | ||
ts1z_status.html | ||
type_traits_design.html | ||
upcoming_meeting.html |