Actions
| Post | |
| Subscribe | |
| Unsubscribe |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cxx-abi-dev] A mangling for std::nullptr_t
- To: cxx-abi-dev@xxxxxxxxxxxxxxxx
- Subject: Re: [cxx-abi-dev] A mangling for std::nullptr_t
- From: David Vandevoorde <daveed@xxxxxxx>
- Date: Tue, 2 Mar 2010 11:31:02 -0500
On Sep 18, 2009, at 6:15 PM, David Vandevoorde wrote: > C++0x defines a typedef std::nullptr_t which aliases a unique (but unnamed) fundamental type. That type needs a mangling code. > > How about "Dn"? I.e., adding the production > > <builtin-type> ::= Dn > > in the spec? In addition to the mangling for std::nullptr_t, we also need an RTTI representation. Since nullptr_t has special conversion requirements (e.g., throwing a nullptr_t value can be caught as a pointer or pointer-to-member value), we propose to add a new simple __nullptr_type_info class (no additional members), rather than e.g. trying to reuse __fundamental_type_info. Attached are proposed diffs against the current spec. Daveed
Attachment:
nullptr.diffs
Description: Binary data
- Follow-Ups:
- Re: [cxx-abi-dev] A mangling for std::nullptr_t
- From: Jason Merrill
- Re: [cxx-abi-dev] A mangling for std::nullptr_t
- References:
- [cxx-abi-dev] A mangling for std::nullptr_t
- From: David Vandevoorde
- [cxx-abi-dev] A mangling for std::nullptr_t
- Prev by Date: Re: [cxx-abi-dev] Re: Mangling of member functions in decltype expressions
- Next by Date: Re: [cxx-abi-dev] A mangling for std::nullptr_t
- Previous by thread: [cxx-abi-dev] A mangling for std::nullptr_t
- Next by thread: Re: [cxx-abi-dev] A mangling for std::nullptr_t
- Index(es):