commit | 55ad3ac786aba5b56d706c7528278dbe08c28928 | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Fri Apr 15 03:29:40 2016 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Fri Apr 15 03:29:40 2016 +0000 |
tree | c8540a9a5993199aa7e9b3cb6e8cd0b2431b7129 | |
parent | 8165249d390e0d524fa500db9014bcebff0c902c [diff] |
[libcxx] Remove the "reduced-arity-initialization" extension from the uses-allocator constructors Summary: A default uses-allocator constructor has been added since that overload was previously provided by the extended constructor. Since Clang does implicit conversion checking after substitution this constructor has to deduce the allocator_arg_t parameter so that it can prevent the evaluation of "is_default_constructible" if the first argument doesn't match. See http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1391 for more information. This patch fixes PR24779 (https://llvm.org/bugs/show_bug.cgi?id=24779) Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19006 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@266409 91177308-0d34-0410-b5e6-96231b3b80d8