Jonathan Wakely
d6c9e37237
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.
2020-02-18 17:42:54 +00:00
..
2020-02-06 20:08:34 -05:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-28 10:25:30 +01:00
2020-02-17 17:09:18 +00:00
2020-01-01 12:51:42 +01:00
2020-02-17 17:09:18 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-02-17 18:22:05 +00:00
2020-01-08 03:00:40 +00:00
2020-01-18 11:55:56 +00:00
2020-02-15 10:25:23 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-02-15 10:25:23 +00:00
2020-01-01 12:51:42 +01:00
2020-02-04 13:30:57 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-02-15 10:25:23 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-02-17 17:09:18 +00:00
2020-02-17 15:11:04 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-28 10:25:30 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-02-17 15:43:43 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-02-18 17:42:54 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-29 15:52:08 +00:00
2020-01-01 12:51:42 +01:00
2020-02-15 10:25:23 +00:00
2020-02-17 15:11:04 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-02-17 13:20:57 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-02-17 15:11:04 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-02-15 10:25:23 +00:00
2020-02-17 17:09:18 +00:00