[libcxx-commits] [PATCH] D108213: [libc++] Remove workarounds for the lack of deduction guides in C++17

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 17 08:59:56 PDT 2021


ldionne created this revision.
Herald added a subscriber: arichardson.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

All supported compilers have supported deduction guides in C++17 for a
while, so this isn't necessary anymore.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108213

Files:
  libcxx/include/__config
  libcxx/include/__functional/function.h
  libcxx/include/__functional/reference_wrapper.h
  libcxx/include/__iterator/iterator_traits.h
  libcxx/include/__memory/shared_ptr.h
  libcxx/include/__utility/pair.h
  libcxx/include/array
  libcxx/include/deque
  libcxx/include/forward_list
  libcxx/include/list
  libcxx/include/map
  libcxx/include/optional
  libcxx/include/queue
  libcxx/include/regex
  libcxx/include/set
  libcxx/include/stack
  libcxx/include/string
  libcxx/include/tuple
  libcxx/include/unordered_map
  libcxx/include/unordered_set
  libcxx/include/vector
  libcxx/test/std/containers/associative/map/map.cons/deduct.fail.cpp
  libcxx/test/std/containers/associative/map/map.cons/deduct.pass.cpp
  libcxx/test/std/containers/associative/map/map.cons/deduct_const.pass.cpp
  libcxx/test/std/containers/associative/multimap/multimap.cons/deduct.fail.cpp
  libcxx/test/std/containers/associative/multimap/multimap.cons/deduct.pass.cpp
  libcxx/test/std/containers/associative/multimap/multimap.cons/deduct_const.pass.cpp
  libcxx/test/std/containers/associative/multiset/multiset.cons/deduct.fail.cpp
  libcxx/test/std/containers/associative/multiset/multiset.cons/deduct.pass.cpp
  libcxx/test/std/containers/associative/set/set.cons/deduct.fail.cpp
  libcxx/test/std/containers/associative/set/set.cons/deduct.pass.cpp
  libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.fail.cpp
  libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.pass.cpp
  libcxx/test/std/containers/container.adaptors/queue/queue.cons/deduct.fail.cpp
  libcxx/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp
  libcxx/test/std/containers/container.adaptors/stack/stack.cons/deduct.fail.cpp
  libcxx/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp
  libcxx/test/std/containers/sequences/array/array.cons/deduct.fail.cpp
  libcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp
  libcxx/test/std/containers/sequences/deque/deque.cons/deduct.fail.cpp
  libcxx/test/std/containers/sequences/deque/deque.cons/deduct.pass.cpp
  libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.fail.cpp
  libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.pass.cpp
  libcxx/test/std/containers/sequences/list/list.cons/deduct.fail.cpp
  libcxx/test/std/containers/sequences/list/list.cons/deduct.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/deduct.fail.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/deduct.pass.cpp
  libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/deduct.fail.cpp
  libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/deduct.pass.cpp
  libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/deduct_const.pass.cpp
  libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/deduct.fail.cpp
  libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/deduct.pass.cpp
  libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/deduct_const.pass.cpp
  libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/deduct.fail.cpp
  libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/deduct.pass.cpp
  libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/deduct.fail.cpp
  libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/deduct.pass.cpp
  libcxx/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp
  libcxx/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp
  libcxx/test/std/strings/basic.string/string.cons/implicit_deduction_guides.pass.cpp
  libcxx/test/std/strings/basic.string/string.cons/iter_alloc_deduction.pass.cpp
  libcxx/test/std/strings/basic.string/string.cons/string_view_deduction.fail.cpp
  libcxx/test/std/strings/basic.string/string.cons/string_view_deduction.pass.cpp
  libcxx/test/std/strings/basic.string/string.cons/string_view_size_size_deduction.fail.cpp
  libcxx/test/std/strings/basic.string/string.cons/string_view_size_size_deduction.pass.cpp
  libcxx/test/std/strings/string.view/string.view.cons/implicit_deduction_guides.pass.cpp
  libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.pass.cpp
  libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.pass.cpp
  libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex.pass.cpp
  libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex.pass.cpp
  libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.fail.cpp
  libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.pass.cpp
  libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_ptr.pass.cpp
  libcxx/test/std/utilities/function.objects/refwrap/refwrap.const/deduct.pass.cpp
  libcxx/test/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor.pass.cpp
  libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/deduction.pass.cpp
  libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/shared_ptr_deduction.pass.cpp
  libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.fail.cpp
  libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.pass.cpp
  libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp
  libcxx/test/std/utilities/utility/pairs/pairs.pair/implicit_deduction_guides.pass.cpp
  libcxx/utils/libcxx/test/features.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108213.366915.patch
Type: text/x-patch
Size: 49724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210817/b4ef2839/attachment-0001.bin>


More information about the libcxx-commits mailing list