|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-11-17 19:04:30
"Vesa Karvonen" <vesa_karvonen_at_[hidden]> writes:
>>I have run into a significant problem however: the template nesting
>>limitation. I have not yet seen a way to make Lazy TMP scale
>>for any real problems.
>
> Yes, nesting can be a problem. The problem can be alleviated by
> using optimizations guided by techniques that are called strictness
> analysis.
If you're concerned about instantiation depth, you can use recursion
unrolling.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk