Boost logo

Boost :

Subject: Re: [boost] outer class `this` in local classes
From: Lorenzo Caminiti (lorcaminiti_at_[hidden])
Date: 2010-08-16 08:29:25


On Thu, Jun 24, 2010 at 1:11 PM, Edward Diener <eldiener_at_[hidden]> wrote:
> On 6/24/2010 1:06 PM, Lorenzo Caminiti wrote:
>> Is there a way to access the outer class `this` from a local class but
>> without using inheritance? snip...
>
> Shouldn't you be asking this in a C++ NG. It has nothing to do with a Boost
> library.

I have asked this question to Google's group
"comp.lang.c++.moderated". Unfortunately, the only answer for my
question relies on a C++ `static_cast<>` undefined behavior :(( known
to work on most (all?) compilers...

Anyways, since I originally posed this question to Boosters, I am
referencing the Google's group link here in case anyone is interested
to look at the discussion:
http://groups.google.com/group/comp.lang.c++.moderated/browse_thread/thread/d3a86f27277f713b

-- 
Lorenzo

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