Skip to content

Commit 17dbcaa

Browse files
committed
Make the template-name in a closure-prefix substitutable.
1 parent cd4f3eb commit 17dbcaa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

abi.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5870,11 +5870,10 @@ <h4><a href="#closure-types">5.1.8 Closure Types (Lambdas)</a></h4>
58705870
member (static or nonstatic), inline variable, or variable template,
58715871
it is encoded in a qualified name with a
58725872
<code>&lt;<a href="#mangle.prefix">prefix</a>&gt;</code> of the form:
5873-
<code><pre><font color=blue> &lt;closure-prefix&gt; ::= [ &lt;<a href="#mangle.prefix">prefix</a>&gt; ] &lt;<i>variable or member</i> <a href="#mangle.unqualified-name">unqualified-name</a>&gt; [&lt;<a href="#mangle.template-args">template-args</a>&gt;] M
5873+
<code><pre><font color=blue>
5874+
&lt;closure-prefix&gt; ::= [ &lt;<a href="#mangle.prefix">prefix</a>&gt; ] &lt;<i>variable or member</i> <a href="#mangle.unqualified-name">unqualified-name</a>&gt; M
5875+
::= &lt;<i>variable template</i> <a href="#mangle.template-prefix">template-prefix</a>&gt; &lt;<a href="#mangle.template-args">template-args</a>&gt; M
58745876
</font></pre></code>
5875-
where the <code>&lt;<a href="#mangle.template-args">template-args</a>&gt;</code>
5876-
is present for a closure type within a variable template specialization
5877-
and absent otherwise.
58785877
For example:
58795878
<code><pre>
58805879
template&lt;typename T> struct S {

0 commit comments

Comments
 (0)