Re: Query regd. "Modern C++ Design" program.
"Andrei Alexandrescu (See Website For Email)"
A cure that's slightly different is of course to use some other
compile time assert, such as Boost's (which corresponds to Andrei's
original one, as is so often the case in Boost; perhaps the whole
Boost library should have been renamed as "The library of
applications of Andrei Alexandrescu's techniques" (sort of like
"The artist formerly known as Prince", but in reverse); but anyway,
I like the original compile time assert much better than the one
Thanks for being so flattering, but even if you are trying to make a
hyperbole, you're definitely wrong about Boost's scope. I know I'd be
mildly annoyed I were one of the many creative contributors to Boost and
read this characterization of it.
For the record, work on Loki was concurrent with a great deal of work
on Boost. Boost certainly benefited from some of what Andrei did
(is_convertible, for example). Like any large codebase, however, the
majority of Boost is built on ideas that were already well-known (for
example, runtime polymorphism, generic programming, template
metaprogramming -- all of which predate Loki *and* Boost by many
years). That said, some really original thinking and techniques were
originated by Boost contributors, and it's more than mildly annoying
to hear colleagues for whom I have great respect described as merely
picking up and applying Andrei's ideas.
P.S. If you're interested in highly-evolved compile-time asserts, check out
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]