Article on code features in C++ by Scott Meyers + sidebar on D implementation by Bartosz Milewski

Lionello Lunesu lionello at lunesu.remove.com
Tue Sep 23 18:40:43 PDT 2008


"Andrei Alexandrescu" <SeeWebsiteForEmail at erdani.org> wrote in message 
news:gbbos9$1l0p$1 at digitalmars.com...
> http://www.artima.com/cppsource/codefeaturesP.html
>
> Andrei

Very cool, and very useful.. I really wish D would support 'features' 
natively. nothrow, pure, they all share the same behaviour: nothrow function 
can only call other functions with nothrow; pure function can only call 
functions with pure.. etc... Can't this be generalized?

L. 



More information about the Digitalmars-d-announce mailing list