[libcxx][span] Implement P1976R2
authorMichael Schellenberger Costa <mschellenbergercosta@googlemail.com>
Wed, 13 May 2020 13:50:06 +0000 (09:50 -0400)
committerLouis Dionne <ldionne@apple.com>
Wed, 13 May 2020 13:52:47 +0000 (09:52 -0400)
commit6d2599e4f776d0cd88438cb82a00c4fc25cc3f67
tree54ba8eeccb166a0ca45e0dad3f68105146bb068e
parent2668775f66656f719f7d8164066ec5ca64d707f2
[libcxx][span] Implement P1976R2

This resolves the NB comment about the construction of a fixed-size span
from a dynamic range.

Differential Revision: https://reviews.llvm.org/D74577
12 files changed:
libcxx/docs/FeatureTestMacroTable.rst
libcxx/include/span
libcxx/include/version
libcxx/test/std/containers/views/span.cons/assign.pass.cpp
libcxx/test/std/containers/views/span.cons/container.fail.cpp
libcxx/test/std/containers/views/span.cons/container.pass.cpp
libcxx/test/std/containers/views/span.cons/ptr_len.fail.cpp
libcxx/test/std/containers/views/span.cons/ptr_ptr.fail.cpp
libcxx/test/std/containers/views/span.cons/span.fail.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp [new file with mode: 0644]
libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
libcxx/utils/generate_feature_test_macro_components.py