[PATCH] D41958: Create a deduction guide for basic_string

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 11 11:40:27 PST 2018


mclow.lists created this revision.
mclow.lists added a reviewer: EricWF.

First of the C++17 deduction guides (I think).
Uses the new `__is_allocator` trait.

The failing test is not quite right yet, but the success bits all work.


https://reviews.llvm.org/D41958

Files:
  include/string
  test/std/strings/basic.string/string.cons/iter_alloc.fail.cpp
  test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41958.129492.patch
Type: text/x-patch
Size: 7211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180111/71784019/attachment.bin>


More information about the cfe-commits mailing list