mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
4727272254
This patch overhauls both specializations of unique_ptr while implementing the following LWG issues: * LWG 2801 - This issue constrains unique_ptr's constructors when the deleter type is not default constructible. Additionally it adds SFINAE conditions to unique_ptr<T[]>::unique_ptr(Up). * LWG 2905 - This issue reworks the unique_ptr(pointer, /* see below */ deleter) constructors so that they correctly SFINAE when the deleter argument cannot be used to construct the stored deleter. * LWG 2520 - This issue fixes initializing unique_ptr<T[]> from nullptr. Libc++ had previously implemented this issue, but the suggested resolution still broke initialization from NULL. This patch re-works the unique_ptr<T[]>(Up, deleter) overloads so that they accept NULL as well as nullptr. llvm-svn: 300406 |
||
---|---|---|
.. | ||
atomic_design_a.html | ||
atomic_design_b.html | ||
atomic_design_c.html | ||
atomic_design.html | ||
content.css | ||
cxx1y_status.html | ||
cxx1z_status.html | ||
index.html | ||
menu.css | ||
ts1z_status.html | ||
type_traits_design.html | ||
upcoming_meeting.html |