Boost logo

Boost :

Subject: Re: [boost] [introspection] if a function is not public
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-07-05 14:59:47


On 06/30/2011 11:24 PM, John Bytheway wrote:
> On 30/06/11 01:02, Lorenzo Caminiti wrote:
>> Hello all,
>>
>> Is there any way (SFINAE, etc) to check at run-time or at compile-time
>> if a member function is not public?
>
> In C++0x the SFINAE rules have changed slightly so that inaccessible
> members are effectively the same as absent ones, so you could probably
> do something, but I don't think you have any recourse in C++03.

Do compilers already follow this?


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