/ Published in: C++
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#define foreach(m_itname,m_container) \ for( typeof(m_container.begin()) m_itname=m_container.begin() ; \ m_itname!=m_container.end() ; \ m_itname++ )