Skip to content

Commit ab37f9e

Browse files
authored
[mdspan.layout.leftpad.overview, mdspan.layout.rightpad.overview] Add \exposid for rank_ and extents_ (cplusplus#8949)
1 parent 1651c62 commit ab37f9e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

source/containers.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23245,7 +23245,7 @@
2324523245

2324623246
// \ref{mdspan.layout.leftpad.obs}, observers
2324723247
constexpr const extents_type& extents() const noexcept { return @\exposid{extents_}@; }
23248-
constexpr array<index_type, rank_> strides() const noexcept;
23248+
constexpr array<index_type, @\exposid{rank_}@> strides() const noexcept;
2324923249

2325023250
constexpr index_type required_span_size() const noexcept;
2325123251
template<class... Indices>
@@ -23881,8 +23881,8 @@
2388123881
constexpr mapping& operator=(const mapping&) noexcept = default;
2388223882

2388323883
// \ref{mdspan.layout.rightpad.obs}, observers
23884-
constexpr const extents_type& extents() const noexcept { return extents_; }
23885-
constexpr array<index_type, rank_> strides() const noexcept;
23884+
constexpr const extents_type& extents() const noexcept { return @\exposid{extents_}@; }
23885+
constexpr array<index_type, @\exposid{rank_}@> strides() const noexcept;
2388623886

2388723887
constexpr index_type required_span_size() const noexcept;
2388823888

0 commit comments

Comments
 (0)