This article was pretty good run, it's like using Haskell inside C++. Not exactly real-world useful, except in very limited scenarios, but still an interesting read.
Boost MPL provides similar things with its type_list (more on the practical side though). But as far as I know, it's not yet C++11, so the overall syntax is a bit more clumsy.
3 comments
[ 3.2 ms ] story [ 21.7 ms ] thread