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


Alexander Nasonov wrote:
>
> Christian Larsen <contact <at> dword.dk> writes:
> >
> > It applies to ScopeExit I see. It seems to be caused by the use of
> __LINE__,
> > (see
> >
> http://article.gmane.org/gmane.comp.lib.boost.user/17341/match=boost+edit+
> 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