Subject: [Boost-users] lambda::var( i )++
From: er (er.ci.2020_at_[hidden])
Date: 2011-03-09 18:26:56


Hello,

Is there a variant of this

     int i = 0;
     lambda::var( i )++;

in which I can do away with the external variable, i? In other words, a
nullary functor that returns 0, 1, 2, successively?

Thanks.