[PATCH] D48616: Implement LWG 2946, 3075 and 3076

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 26 21:40:24 PDT 2018


mclow.lists updated this revision to Diff 153001.
mclow.lists added a comment.

Updated the `__is_allocator` type trait to work all the way back to C++03
Added a bunch of tests from issue2946.

I think this has all the pieces that it needs now.


https://reviews.llvm.org/D48616

Files:
  include/memory
  include/string
  test/std/strings/basic.string/string.cons/copy_assignment.pass.cpp
  test/std/strings/basic.string/string.cons/default_noexcept.pass.cpp
  test/std/strings/basic.string/string.cons/dtor_noexcept.pass.cpp
  test/std/strings/basic.string/string.cons/implicit_deduction_guides.pass.cpp
  test/std/strings/basic.string/string.cons/move_assign_noexcept.pass.cpp
  test/std/strings/basic.string/string.cons/move_noexcept.pass.cpp
  test/std/strings/basic.string/string.cons/pointer_size_alloc.pass.cpp
  test/std/strings/basic.string/string.cons/string_view_deduction.fail.cpp
  test/std/strings/basic.string/string.cons/string_view_deduction.pass.cpp
  test/std/strings/basic.string/string.cons/string_view_size_size_deduction.fail.cpp
  test/std/strings/basic.string/string.cons/string_view_size_size_deduction.pass.cpp
  test/std/strings/basic.string/string.modifiers/string_append/string.pass.cpp
  test/std/strings/basic.string/string.modifiers/string_insert/size_string.pass.cpp
  test/std/strings/basic.string/string.modifiers/string_op_plus_equal/string.pass.cpp
  test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_string.pass.cpp
  test/std/strings/basic.string/string.modifiers/string_replace/size_size_string.pass.cpp
  test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp
  test/std/strings/basic.string/string.ops/string_compare/size_size_string.pass.cpp
  test/std/strings/basic.string/string.ops/string_compare/string.pass.cpp
  test/std/strings/basic.string/string.ops/string_find.first.not.of/string_size.pass.cpp
  test/std/strings/basic.string/string.ops/string_find.first.of/string_size.pass.cpp
  test/std/strings/basic.string/string.ops/string_find.last.not.of/string_size.pass.cpp
  test/std/strings/basic.string/string.ops/string_find.last.of/string_size.pass.cpp
  test/std/strings/basic.string/string.ops/string_find/string_size.pass.cpp
  test/std/strings/basic.string/string.ops/string_rfind/string_size.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48616.153001.patch
Type: text/x-patch
Size: 62167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180627/3e66e0a7/attachment-0001.bin>


More information about the cfe-commits mailing list