Subject: Re: [boost] [introspection] if a function is not public
From: John Bytheway (jbytheway+boost_at_[hidden])
Date: 2011-06-30 17:24:15
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.