Skip to content

[views.multidim] Index submdspan_mapping#8793

Open
frederick-vs-ja wants to merge 1 commit intocplusplus:mainfrom
frederick-vs-ja:index-submdspan_mapping
Open

[views.multidim] Index submdspan_mapping#8793
frederick-vs-ja wants to merge 1 commit intocplusplus:mainfrom
frederick-vs-ja:index-submdspan_mapping

Conversation

@frederick-vs-ja
Copy link
Contributor

Fixes #8792.


template<class... SliceSpecifiers>
friend constexpr auto submdspan_mapping(const mapping& src, SliceSpecifiers... slices) {
friend constexpr auto @\libmember{submdspan_mapping}{layout_left_padded<PaddingValue>::mapping}@(const mapping& src, SliceSpecifiers... slices) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to use layout_left_padded<PaddingValue>::mapping or (incomplete but perhaps sufficient) layout_left_padded::mapping in the index?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, many members of these mapping classes are not yet indexed. Perhaps we can index them in a follow-up PR.

\end{itemize}

\pnum
\indexlibraryglobal{submdspan_mapping}%
Copy link
Contributor Author

@frederick-vs-ja frederick-vs-ja Mar 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This paragraph is perhaps the right place for "primary" submdspan_mapping, but it's somehow duplicate of [contents]/3 which also lists submdspan_mapping.

@eisenwave eisenwave added the P2-Bug Presentational errors and omissions label Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2-Bug Presentational errors and omissions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

submdspan_mapping is not indexed

2 participants