Extended Type Design.
Andrei Alexandrescu (See Website For Email)
SeeWebsiteForEmail at erdani.org
Fri Mar 16 02:54:31 PDT 2007
eao197 wrote:
> On Fri, 16 Mar 2007 12:43:19 +0300, Andrei Alexandrescu (See Website For
> Email) <SeeWebsiteForEmail at erdani.org> wrote:
>
>> Yes, that's part of the plan. Moreover, you'll likely have the ability
>> to define const-transporting methods (methods that look identical but
>> only need to pass the const of the object out to the return value)
>> only once. This has been a source of annoyance in certain C++ idioms.
>
> Thanks, I'm glad to hear that!
>
> It seems that D with this storage classes and const-transporting methods
> will be almost different D, may be D 2.0 :)
Actually, this is exactly true. D 2.0.
Andrei
More information about the Digitalmars-d
mailing list