Extended Type Design.

eao197 eao197 at intervale.ru
Fri Mar 16 02:49:45 PDT 2007


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 :)

-- 
Regards,
Yauheni Akhotnikau



More information about the Digitalmars-d mailing list