C++ Boost

Boost.Preprocessor

Reference


Prev Next Macros Headers

#include <boost/preprocessor/while.hpp>


#define BOOST_PP_WHILE(C,F,X)

Iterates F(D,X) while C(D,X) is true.

In other words, expands to:

  F(D, ... F(D, F(D,X) ) ... )

The depth of iteration is determined by C(D,X).

Legend

Note

Example


Prev Next Macros Headers

Revised

© Copyright Housemarque Oy 2002

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.