Lambda the Ultimate

inactiveTopic [Template Meta-|Generic] Programming
started 3/4/2003; 9:40:26 PM - last post 3/4/2003; 9:40:26 PM
sean - [Template Meta-|Generic] Programming  blueArrow
3/4/2003; 9:40:26 PM (reads: 191, responses: 0)
[Template Meta-|Generic] Programming

M. C. Burton, W. G. Griswold, A. D. McCulloch, G. A. Huber, ``Static Data Structures - Reconciling Template Metaprogramming and Generic Programming'', IFIP Working Conference on Generic Programming, Kluwer, July 2002

I thought this was an interesting twist on "template abuse", in the spirit of Spirit and the Lambda Library. Instead of using templates for compile-time computation, the authors use them to create compile-time "sequences" that follow much of the syntax of STL containers. The goal is to make it possible to swap in a static array for a run-time one with a minimal number of changes (and a maximal amount of additional compile time).