Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-05-05 07:45:25

Dave Harris wrote:
> It sounds like you are mimicking the "foreach" of some other
> language. I think a C++ library should use C++ conventions, not the
> conventions of whatever it is you are copying.

The C++ 'foreach' is likely to be spelled 'for', if I'm not mistaken.

for( int v: c )

unless something has changed in the meantime.

Boost list run by bdawes at, gregod at, cpdaniel at, john at