Skip to content

Commit

Permalink
[temp.deduct.call] Make sure that when math superscript is suffixed t…
Browse files Browse the repository at this point in the history
…o \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.
  • Loading branch information
Eelis committed Apr 12, 2019
1 parent f10777c commit aed35a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/templates.tex
Expand Up @@ -7501,7 +7501,7 @@
\tcode{A})
as described below.
If removing references and cv-qualifiers from \tcode{P} gives
\tcode{std::initializer_list<P$^{\prime}$>}
$\tcode{std::initializer_list<P}^{\prime}\tcode{>}$
or $\tcode{P}'\tcode{[N]}$
for some $\tcode{P}'$ and \tcode{N} and the
argument is a non-empty initializer list\iref{dcl.init.list}, then deduction is
Expand Down

0 comments on commit aed35a0

Please sign in to comment.