[cxx-abi-dev] C++0x: Mangling of rvalue reference types

Doug Gregor doug.gregor at gmail.com
Thu Jun 28 20:06:43 UTC 2007


On 6/28/07, Mark Mitchell <mark at codesourcery.com> wrote:
> I'd suggest that you prepare an HTML patch to reflect that.  We don't
> have a formal procedure for amending the ABI document, but, in practice,
> what we do is:
>
> 1. Post the HTML patch with a description here.
> 2. Wait a week or so.
> 3. Check it in.

The patch follows, waiting a week is easy... but where would I check this in?

  - Doug

--- orig-abi.html       2007-06-28 16:04:49.000000000 -0400
+++ abi.html    2007-06-28 16:00:01.000000000 -0400
@@ -3717,8 +3717,8 @@
                                   size_t* n,
                                   int* status);
 }
-
-</code></pre>
+</pre>
+</code>

 <ul>
 <p>
@@ -4147,14 +4147,15 @@
 cv-qualifiers and/or pointer, reference, complex, or imaginary types:

 <pre><font color=blue><code>
-  <type> ::= <CV-qualifiers> <type>
-        ::= P <type>        # pointer-to
-        ::= R <type>        # reference-to
-        ::= C <type>        # complex pair (C 2000)
-        ::= G <type>        # imaginary (C 2000)
-        ::= U <source-name> <type>       # vendor extended type qualifier
+  <type> ::= <CV-qualifiers> <type>
+        ::= P <type>     # pointer-to
+        ::= R <type>     # reference-to
+        ::= RR <type>    # rvalue reference-to (C++0x)
+        ::= C <type>     # complex pair (C 2000)
+        ::= G <type>     # imaginary (C 2000)
+        ::= U <source-name> <type> # vendor extended type qualifier

-  <CV-qualifiers> ::= [r] [V] [K]   # restrict (C99), volatile, const
+  <CV-qualifiers> ::= [r] [V] [K]        # restrict (C99),
volatile, const

 </pre></font></code>



More information about the cxx-abi-dev mailing list