Boost logo

Boost :

Subject: Re: [boost] [local] Any "active Boost library author" in favor of Boost.Local?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-11-25 14:47:25


On 11/25/2011 08:17 PM, Thomas Klimpel wrote:
> Mathias Gaunard wrote:
>>> DISCLAIMER: I apologize in advance if there's a way to do access priv
>>> and prot from the Phoenix global functor which I was not able to
>> find.
>>> I'm sure Phoenix experts will be able to correct my example if such a
>>> possibility exists :)
>>
>> It's not possible with Phoenix, though I believe there are hacks to
>> make it possible somewhat.
>
> I guess I would create a static member function and adapt it with Phoenix. Is this one of the hacks you imagined? Or were you more thinking in the direction of "friend" declarations?

There are ways of accessing privates without friendship as well.
<http://bloglitb.blogspot.com/2010/07/access-to-private-members-thats-easy.html>


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