[Boost-bugs] [Boost C++ Libraries] #1295: for each in VC8+

Subject: [Boost-bugs] [Boost C++ Libraries] #1295: for each in VC8+
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-10-03 07:16:42


#1295: for each in VC8+
------------------------------+---------------------------------------------
 Reporter: NN | Owner: eric_niebler
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: foreach
  Version: Boost 1.34.1 | Severity: Optimization
 Keywords: |
------------------------------+---------------------------------------------
 VC8 and VC9 have built in for each operator.
 BOOST_FOREACH should use it instead. This can decrease compilation time.

 Code sample:
 {{{
 #!cpp
 #if defined(_MSC_VER) && _MSC_VER >= 1400
  #define BOOST_FOREACH(i, c) for each(i in c)
 #else
  // BOOST_FOREACH
 #endif // _MSC_VER && _MSC_VER >= 1400
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1295>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC