By reference temporaries, I think we want to say temporaries bound to
references with vague linkage?
-- HT
=====
Hubert S. K. Tong
C++ Front-End and Runtime Development for XL C/C++
IBM Canada Ltd., C2/YGH/8200/MKM, 8200 Warden Avenue, Markham, Ontario L6G
1C7, Canada
--
Phone: +1 (905) 413-4207
E-mail: [email protected]
===
[email protected] wrote on 06-05-2014 07:46:34 PM:
> From: David Majnemer <[email protected]>
> To: John McCall <[email protected]>,
> Cc: Richard Smith <[email protected]>, "cxx-abi-
> [email protected]" <[email protected]>
> Date: 06-05-2014 07:46 PM
> Subject: Re: [cxx-abi-dev] Mangling of reference temporaries
> Sent by: [email protected]
>
> To implement support for mangling reference temporaries:
>
> 1. An additional <special-name> non-terminal production should be added:
>
> <special-name> ::= GR <object name> [ <seq-id> ] _ # Reference
temporaries
>
> The <seq-id> is strictly the lexical order in which the reference
> temporary was written in the source.
>
> The following exists as a practical example:
>
> _ZGR1bIvE_ would be given to the 'B' object that 't' would refer to.
> _ZGR1bIvE0_ would be given to the array of 'A' object references
> _ZGR1bIvE1_ would be given to the object containing the first array
> of ints, {1, 2, 3}
> _ZGR1bIvE2_ would be given to the object containing the second array
> of ints, {4, 5, 6}
>
> 2. The text describing <seq-id> should probably refrain from
> mentioning substitutable entities.
>
> --
> David Majnemer_______________________________________________
> cxx-abi-dev mailing list
> [email protected]
> http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev_______________________________________________
cxx-abi-dev mailing list
[email protected]
http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev