Boost logo

Boost :

From: Christian Larsen (contact_at_[hidden])
Date: 2007-08-23 13:41:58

Alexander Nasonov wrote:
> Christian Larsen <contact <at>> writes:
> >
> > It applies to ScopeExit I see. It seems to be caused by the use of
> __LINE__,
> > (see
> >
> co
> > ntinue). This makes sense as edit & continue would probably get a hard
> time
> > with changing line numbers. But still it produces nonsense error
> messages.
> Can you change it to __COUNT__ and check that it solves your problem?

Yes, changing all occurrences of __LINE__ to __COUNT__ in scope_exit.hpp
solves the problem in both versions of Visual Studio.

Sorry for the late answer, I've been on vacation until today.

Best regards,
Christian Larsen

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