Boost logo

Boost :

Subject: Re: [boost] nested BOOST_FOREACH and -Wshadow
From: Kim Barrett (kab.conundrums_at_[hidden])
Date: 2009-02-07 19:50:45

At 5:33 PM +0300 2/7/09, Andrey Semashev wrote:
>It's __COUNTER__, unfolds into an integer. It gets incremented every
>time it gets unfolded.

FWIW, this feature was also recently added to gcc:
A new predefined macro __COUNTER__ has been added. It expands to
sequential integral values starting from 0. In conjunction with the
## operator, this provides a convenient means to generate unique

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