On the richness of C++
Sean Kelly
sean at invisibleduck.org
Sat Apr 12 08:32:39 PDT 2008
== Quote from Edward Diener (eddielee_no_spam_here at tropicsoft.com)'s article
> Walter Bright wrote:
> > Kevin Bealer wrote:
> >> I was amazed that Boost could do things like the Lambda support with
> >> _1 _2, etc.
> >> Those Boost guys are geniuses.
> >
> > I agree, they are geniuses. But that's really what is wrong with C++,
> > you shouldn't have to be a genius to get advanced things done.
> Are D's templates a complete replacement in functionality for Boost's
> MPL ? If so could you write an article on your web site about the how's
> and why's of that ? I am still trying to understand D's templates based
> on the sparse documentation of them.
I'm not sure if it helps, but the D book that I and some of the other
Tango folks wrote has a chapter on templates. I think it's probably
the most extensive "how to" document available right now. It's not
free, but I believe the e-book version is only like $13.
> Remember that part of the difficult for the Boost developer is also
> supporting many non-conforming C++ compilers, so part of the genius of
> what they are doing is manipulating around compilers that do not deal
> with C++ templates correctly ( perhaps because the details of the C++
> template system are so abstruse and difficult to understand and implement).
Exactly.
Sean
More information about the Digitalmars-d
mailing list