MudBytes
» MUDBytes Community » Language Discussions » C and C++ » expression templates
Pages: << prev 1 next >>
expression templates
Silenus
Conjurer




Group: Members
Posts: 248
Joined: Feb 26, 2008

Go to the bottom of the page Go to the top of the page
#1 Posted Jul 9, 2009, 3:46 pm

This might be a bit of an oddball question for this forum but I am curious if anyone knows how these work and how to exploit them. From looking at some code it seems that you generate a deeply nested recursive type structure which represents an expression. But how in principle do thing with it like the optimizations you see in Blitz++ and the computations you find in Boost::Spirit at runtime?

Pages:<< prev 1 next >>

Valid XHTML 1.1! Valid CSS!