#include <boost/foreach.hpp>

std::vector< ElementType > collection;

BOOST_FOREACH( ElementType element, collection ) 
{ }
http://www.boost.org/doc/libs/1_43_0/doc/html/foreach.html

相关文章:

  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
  • 2022-01-02
  • 2021-09-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2022-12-23
  • 2021-07-11
相关资源
相似解决方案