[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] Smart pointers for canonical types
From:       Sebastian Redl <sebastian.redl () getdesigned ! at>
Date:       2009-07-18 10:04:04
Message-ID: 4A619E14.1040006 () getdesigned ! at
[Download RAW message or body]

Douglas Gregor wrote:
>
> On Jul 15, 2009, at 4:58 PM, Douglas Gregor wrote:
>> The attached patch introduces a new class template CanQual<T>, which
>> is a smart pointer that refers to a canonical type whose dynamic type
>> is T or some subclass thereof. T will often be Type, but we also
>> expect that, e.g., CanQual<PointerType> will be used rather than
>> const PointerType*.
>
> Here's an updated patch, which contains all of the canonical type
> proxies and converts the template argument deduction code over to use
> the canonical-type smart pointer. Unless there are complaints, I plan
> to introduce this code early next week.
Looks very good. Just one nit: CanQual::getNonReferenceType has an
incomplete comment.

Sebastian
_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic