c++boost.gif (8819 bytes)
Main Page   File List   File Members  

for_each.hpp File Reference

Click here to see the header.. More...


Defines

#define BOOST_PP_LIST_FOR_EACH(F, P, L)
 Repeats F(R,P,BOOST_PP_LIST_AT(L,I)) for each I = [0,BOOST_PP_LIST_SIZE(L)[. More...


Detailed Description

Click here to see the header..


Define Documentation

#define BOOST_PP_LIST_FOR_EACH F,
P,
 
 

Repeats F(R,P,BOOST_PP_LIST_AT(L,I)) for each I = [0,BOOST_PP_LIST_SIZE(L)[.

In other words, expands to the sequence:

  F(R,P,BOOST_PP_LIST_AT(L,0))
  F(R,P,BOOST_PP_LIST_AT(L,1))
  ...
  F(R,P,BOOST_PP_LIST_AT(L,BOOST_PP_DEC(BOOST_PP_LIST_SIZE(L))))

See BOOST_PP_FOR() for an explanation of the R parameter.


© Copyright Housemarque Oy 2001

Permission to copy, use, modify, sell and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.

Generated: