Skip to content

Commit 6136f56

Browse files
author
Colin Robertson
authored
Fix template name
The other correction may not be needed - I'd proposed adding the template parameters to the Parameters section of the `span::span` constructors.
1 parent a41191f commit 6136f56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/standard-library/span-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ The following deduction guides are provided for span.
10411041
// Allows the extent to be deduced from std::array and C++ built-in arrays
10421042

10431043
template <class T, size_t Extent>
1044-
span(_Ty (&)[Extent]) -> span<T, Extent>;
1044+
span(T (&)[Extent]) -> span<T, Extent>;
10451045

10461046
template <class T, size_t Size>
10471047
span(array<T, Size>&) -> span<T, Size>;

0 commit comments

Comments
 (0)