Boost logo

Boost :

Subject: Re: [boost] [scope_exit] Boost.ScopeExit capturing 'this'
From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2009-03-11 04:53:30

Peder Holt <peder.holt <at>> writes:

> Second, thanks for the workaround. I have implemented this for
> BOOST_TYPEOF_NESTED_TYPEDEF, so that this can now be used with expressions
> containing this for VC compilers.
> Usage:
> BOOST_TYPEOF_NESTED_TYPEDEF(unique_name,this);
> typedef unique_name::type this_type;
> Can you use this in stead?

Last time I looked, BOOST_TYPEOF_NESTED_TYPEDEF required a global scope
while ScopExit requires a local scope.


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