tmp/tmpbf38e0_g/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
##### Deduction guides <a id="span.deduct">[[span.deduct]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class It, class EndOrSize>
|
| 5 |
-
span(It, EndOrSize) -> span<remove_reference_t<iter_reference_t<It>>
|
|
|
|
| 6 |
```
|
| 7 |
|
| 8 |
*Constraints:* `It` satisfies `contiguous_iterator`.
|
| 9 |
|
| 10 |
``` cpp
|
|
|
|
| 1 |
##### Deduction guides <a id="span.deduct">[[span.deduct]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class It, class EndOrSize>
|
| 5 |
+
span(It, EndOrSize) -> span<remove_reference_t<iter_reference_t<It>>,
|
| 6 |
+
maybe-static-ext<EndOrSize>>;
|
| 7 |
```
|
| 8 |
|
| 9 |
*Constraints:* `It` satisfies `contiguous_iterator`.
|
| 10 |
|
| 11 |
``` cpp
|