Skip to content

Commit 405b46f

Browse files
authored
[mdspan.mdspan.overview] Add default template arguments for mdspan (#6018)
We usually restate the default template arguments in the class synopsis, so that the information is in one place and one does not need to also refer to the header synopsis.
1 parent de65fd0 commit 405b46f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/containers.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20149,7 +20149,8 @@
2014920149

2015020150
\begin{codeblock}
2015120151
namespace std {
20152-
template<class ElementType, class Extents, class LayoutPolicy, class AccessorPolicy>
20152+
template<class ElementType, class Extents, class LayoutPolicy = layout_right,
20153+
class AccessorPolicy = default_accessor<ElementType>>
2015320154
class mdspan {
2015420155
public:
2015520156
using extents_type = Extents;

0 commit comments

Comments
 (0)