|
Boost : |
From: Bruno Lalande (bruno.lalande_at_[hidden])
Date: 2008-05-20 19:11:40
> Right, and it also reduces the number of template instantiations needed?
Yep, it instantiates almost half the number of templates instantiated
by the first implementation.
About inlining considerations: I don't think that the compiler cares
about the deepness of function calls it has to inline. I see
optimization and inlining as a recursive algorithm that does its job
exactly the same way however deep you are. But I'm not a compiler
expert...
Anyway your solution is really good and I'll sure use it in the next
implementation. Thanks!
Bruno
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk