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 Jul 5, 2019
1 parent def3119 commit 0974561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7452,7 +7452,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 0974561

Please sign in to comment.