diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-02-18 13:12:44 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-02-18 17:42:54 +0000 |
commit | d6c9e372372ee78283a21651313fce965d22274d (patch) | |
tree | 04b10327e356f2f4d3c9874e9c1dccbe92945b5b /libgfortran/io/async.c | |
parent | f09f32427b21127af0ec4c4a48dc9f3b0e696e59 (diff) | |
download | gcc-d6c9e372372ee78283a21651313fce965d22274d.zip gcc-d6c9e372372ee78283a21651313fce965d22274d.tar.gz gcc-d6c9e372372ee78283a21651313fce965d22274d.tar.bz2 |
libstdc++: Fix and simplify constraints on std::span constructors
This makes the constraints consistent with the pre-Prague working paper.
* include/std/span (span::__is_compatible_array): Simplify alias
template by using requires-clause.
(span::__is_compatible_ref): New alias template for constraining
constructors.
(span::__is_compatible_iterator, span::__is_compatible_range): Remove.
(span(It, size_type), span(It, End)): Use __is_compatible_ref.
(span(T(&)[N], span(array<T, N>&), span(const array<T, N>&)): Remove
redundant parentheses.
(span(R&&)): Add missing constraints.
Diffstat (limited to 'libgfortran/io/async.c')
0 files changed, 0 insertions, 0 deletions