Return to Snippet

Revision: 4390
at December 4, 2007 15:35 by yuconner


Initial Code
#define foreach(m_itname,m_container) \
       for( typeof(m_container.begin()) m_itname=m_container.begin() ; \
       m_itname!=m_container.end() ; \
       m_itname++ )

Initial URL

                                

Initial Description

                                

Initial Title
foreach in c++ (#define)

Initial Tags
c

Initial Language
C++