> -----Original Message----- > From: Martin Sebor [mailto:[EMAIL PROTECTED] On Behalf Of Martin Sebor > Sent: Saturday, May 31, 2008 3:42 PM > To: [email protected] > Subject: Re: type_traits progress > ... > > The problem with metaprogramming is that many compilers weren't > designed for the kind of involved computation that some of these > algorithms require, so their performance really blows. It's a > fun exercise to time the compilation of a non-trivial metaprogram > (e.g., sorting a typelist) while watching its memory consumption.
Yeah I've actually written code that does that: part of a Boost library proposal a couple years back. As I recall, it took me a week to figure out how to make it work. Brad.
