4 Aug
2009
4 Aug
'09
8:17 a.m.
On Tue 04/08/09 09:02 , Matthieu Brucher
Hi,
Try with: foreach ((boost::tuple
& i_pair), l_listLeftLines) The issue is that < and > are not delimiters for the macro, so you have actually 3 parameters if you don't add the parenthesis.
From memory the extra parentheses solution isn't good enough either. You have to go with one of the workarounds described in the "pitfalls" section of the documentation:
http://www.boost.org/doc/libs/1_39_0/doc/html/foreach/pitfalls.html Pete