Boost logo

Boost :

Subject: Re: [boost] [scope_exit] capture list syntax for scope_exit and local_function
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2009-01-16 14:37:14


Alexander Nasonov wrote:
> Alexander Nasonov <alnsn <at> yandex.ru> writes:
>
> See my commit to trunk:
> https://svn.boost.org/trac/boost/changeset/50620
>
> I appreciate if people can run regression tests, especially on Windows
> because I don't use Windows at the moment.

I took a quick look at the scope_exit.hpp. If you are using __LINE__ to
compose unique identifier names, then this will not wort on VC 7.1 and
later with /ZI. __COUNTER__ should be used instead.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk