24 Nov
2011
24 Nov
'11
11:56 p.m.
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