From Jason Turner

[span.deduct]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpu86s6nkn/{from.md → to.md} +16 -0
tmp/tmpu86s6nkn/{from.md → to.md} RENAMED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
11
+ template<class R>
12
+ span(R&&) -> span<remove_reference_t<ranges::range_reference_t<R>>>;
13
+ ```
14
+
15
+ *Constraints:* `R` satisfies `ranges::contiguous_range`.
16
+