
18 Nov
2004
18 Nov
'04
12:04 a.m.
"Vesa Karvonen" <vesa_karvonen@hotmail.com> 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