On the richness of C++

Sean Kelly sean at invisibleduck.org
Thu Apr 10 13:06:19 PDT 2008


== Quote from Jason House (jason.james.house at gmail.com)'s article
> Sean Kelly Wrote:
> > == Quote from Georg Wrede (georg at nospam.org)'s article
> > > Is it just paranoia, or is C++ still more flexible and expressive than D?
> > > Are there still things you can do in C++ that are impossible or too
> > > awkward to do in D?
> >
> > I think one could argue that the current implementation of mixins is a
> > weak replacement for multiple inheritance, and that this makes certain
> > design patterns a bit less pleasant in D than they would be in C++.  Also,
> > the lack of ADL in D can be frustrating at times, though D 2.0's overload
> > groups may address this issue.  In fact, it's overload groups and struct
> > ctors that has me wanting to move to D 2.0.
> What's ADL?  A quick web search didn't turn up any obvious definitions...

Argument-dependent lookup--also called Koenig lookup.


Sean



More information about the Digitalmars-d mailing list