Boost logo

Boost Users :

Subject: Re: [Boost-users] Scope exit with no capture
From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2011-11-24 18:56:50


Bruno Martinez wrote:
> What do you mean? Note that the limitation that's bothering me is
> having an empty capture list, not capturing this.

Oops, sorry, these two things got mixed up in my mind.

To be honest, I never thought of using void as a special case for an
empty capture list. PP_SEQ I use for captures can't be empty. I tried
supporting BOOST_PP_EMPTY() but it didn't work and I didn't like it.
So, if Lorenzo's idea can work portably with C++03 and with lambdas,
I can happily accept it.

Alex


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net