Krzysztof Czarnecki and Ulrich Eisenecker have put together some
useful tools for template metaprogramming:
http://home.t-online.de/home/Ulrich.Eisenecker/meta.htm
They have implemented various control structures as template classes,
which has the potential to make TMPs much easier and readable. For
example, their IF class:
template<bool Condition, class Then, class Else>
struct IF { ... };
Instead of manually writing your own "if" templates and specializing
them, you can just use
IF<flag,truetype,falsetype>::RET
Cheers,
Todd
--------------------- blitz-dev list --------------------------------
* To subscribe/unsubscribe: mail to majordomo@oonumerics.org, with
"subscribe blitz-dev" or "unsubscribe blitz-dev" in the body of the message
* Blitz++ web page: http://oonumerics.org/blitz/
This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 04:30:05 EST