Skip to content

Commit 11f88e8

Browse files
committed
[temp.deduct.call] Make sure that when math superscript is suffixed to \texttt, the \texttt itself is included in the formula passed to MathJax.
Otherwise cxxdraft-htmlgen passes a lone math superscript to MathJax and then applies our own \texttt styling to the result, which produces a different result from letting MathJax render and style the whole thing.
1 parent 4e55d84 commit 11f88e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/templates.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7578,7 +7578,7 @@
75787578
\tcode{A})
75797579
as described below.
75807580
If removing references and cv-qualifiers from \tcode{P} gives
7581-
\tcode{std::initializer_list<P$^{\prime}$>}
7581+
$\tcode{std::initializer_list<P}^{\prime}\tcode{>}$
75827582
or $\tcode{P}'\tcode{[N]}$
75837583
for some $\tcode{P}'$ and \tcode{N} and the
75847584
argument is a non-empty initializer list\iref{dcl.init.list}, then deduction is

0 commit comments

Comments
 (0)