Skip to content

Commit bdf1860

Browse files
JohelEGPtkoeppe
authored andcommitted
[macros] add \libspec macro to index specializations
`\libspec{disable_sized_sentinel_for}{move_iterator}` will index `move_iterator` under `disable_sized_sentinel_for`, which is enough to uniquely identify ```C++ template<class Iterator1, class Iterator2> requires (!sized_sentinel_for<Iterator1, Iterator2>) constexpr bool disable_sized_sentinel_for<move_iterator<Iterator1>, // freestanding move_iterator<Iterator2>> = true; ```
1 parent d3ac7d4 commit bdf1860

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/macros.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@
205205

206206
\newcommand{\libglobal}[1]{\indexlibraryglobal{#1}#1}
207207
\newcommand{\libmember}[2]{\indexlibrarymember{#1}{#2}#1}
208+
\newcommand{\libspec}[2]{\indexlibrarymemberx{#1}{#2}#1}
208209

209210
% index for library headers
210211
\newcommand{\libheader}[1]{\indexhdr{#1}\tcode{<#1>}}

0 commit comments

Comments
 (0)