Guest User

Untitled

a guest
Jan 14th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. #define STD_FOREACH(collectionType, collectionInst, iteratorName) \
  2.     for( collectionType::iterator iteratorName = (collectionInst).begin() ; iteratorName != (collectionInst).end() ; iteratorName++)
  3.  
  4. #define STD_CONST_FOREACH(collectionType, collectionInst, iteratorName) \
  5.     for( collectionType::const_iterator iteratorName = (collectionInst).begin() ; iteratorName != (collectionInst).end() ; iteratorName++)
Add Comment
Please, Sign In to add comment