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.
Paths
| Differential D41958
Create a deduction guide for basic_string ClosedPublic Authored by mclow.lists on Jan 11 2018, 11:40 AM.
Details
Summary First of the C++17 deduction guides (I think). The failing test is not quite right yet, but the success bits all work.
Diff Detail Event TimelineComment Actions LGTM other than inline comments.
This revision is now accepted and ready to land.Jan 11 2018, 4:08 PM
Revision Contents
Diff 129492 include/stringtest/std/strings/basic.string/string.cons/iter_alloc.fail.cpp
test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp
|
This should be guarded by _LIBCPP_HAS_NO_DEDUCTION_GUIDES.