This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 01/11] [PR gdb/14441] gdb: gdbtypes: add definitions for rvalue reference type


On 02/22/2016 11:03 PM, Artemiy Volkov wrote:
> On Fri, Feb 19, 2016 at 10:49:38AM -0800, Keith Seitz wrote:
> 
> Do you suggest keeping only the lvalue version of the reference type and
> then adjust its type code from TYPE_CODE_REF to TYPE_CODE_RVALUE_REF on
> lookup_rvalue_reference_type()? It seems somewhat hacky to me. E.g. how
> would we be able to create a struct type for a complex type involving a
> T&&, such as a typedef of it?

Bah. No, I am wrong. Please disregard this comment.

Sorry about the confusion.

Keith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]