
23 Sep
2010
23 Sep
'10
4:01 p.m.
AMDG On 9/23/2010 4:18 AM, przemyslaw.sliwa@uk.bnpparibas.com wrote:
for(ciiMap::iterator i_ptr=test.begin(); i_ptr!=test.end(); ++i_ptr) { ciMap& tmpMap = (*i_ptr).second;
for(ciMap::iterator j_ptr=tmpMap.begin(); j_ptr!=tmpMap.end(); ++j_ptr) { cls& temp = (*j_ptr).second; temp.postprocess; } }
Can boost help me reducing this ridiculous loop? Should I use lambda or boost::bind in order to do this? Couls someone help me with this?
You could try BOOST_FOREACH. In Christ, Steven Watanabe