[all-commits] [llvm/llvm-project] ab9f11: [libcxx][span] Implement solution to LWG-3255
Michael Schellenberger Costa via All-commits
all-commits at lists.llvm.org
Thu May 14 07:52:03 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ab9f11168f55add345f29592ec0946ac2e5ae697
https://github.com/llvm/llvm-project/commit/ab9f11168f55add345f29592ec0946ac2e5ae697
Author: Michael Schellenberger Costa <mschellenbergercosta at googlemail.com>
Date: 2020-05-14 (Thu, 14 May 2020)
Changed paths:
M libcxx/include/span
M libcxx/test/std/containers/views/span.cons/stdarray.pass.cpp
M libcxx/www/cxx2a_status.html
Log Message:
-----------
[libcxx][span] Implement solution to LWG-3255
This implements the relaxed requirements on the std::array constructors of span,
where the type only needs to be convertible to the element type of the span.
Note that the previous tests were not sufficient, as the const array<T, n> constructor
was only tested for compile time and the array<T, N> only during runtime.
Restructure the tests so that we can test conversions as well as both constructors.
Differential Revision: https://reviews.llvm.org/D75706
More information about the All-commits
mailing list