[libcxx-commits] [PATCH] D116481: [libc++] [test] Add tests for std::span construction from various initializer lists.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jan 1 13:26:25 PST 2022


Quuxplusone created this revision.
Quuxplusone added reviewers: ldionne, jloser, libc++.
Quuxplusone added a project: libc++.
Quuxplusone requested review of this revision.
Herald added a subscriber: libcxx-commits.
Herald added 1 blocking reviewer(s): libc++.

This is related to P2447 "std::span<const T> should be constructible from std::initializer_list<T>," <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2447r1.html> but doesn't implement the proposal — instead, it simply adds test coverage for the bits that would change as a result of the proposal (and also for some bits that wouldn't change, but are related and lack any test coverage today).

(I'm hoping this can be rubberstamped, but will still wait for CI to come back and be green before I land it.)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116481

Files:
  libcxx/test/std/containers/views/span.cons/array.pass.cpp
  libcxx/test/std/containers/views/span.cons/initializer_list.pass.cpp
  libcxx/test/std/containers/views/span.cons/iterator_len.verify.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116481.396876.patch
Type: text/x-patch
Size: 4670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220101/0817e7e2/attachment.bin>


More information about the libcxx-commits mailing list