incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lemings" <Eric.Lemi...@roguewave.com>
Subject RE: type_traits progress
Date Mon, 02 Jun 2008 16:00:49 GMT
 

> -----Original Message-----
> From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor
> Sent: Saturday, May 31, 2008 3:42 PM
> To: dev@stdcxx.apache.org
> 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.

Mime
View raw message