
5 Jul
2011
5 Jul
'11
6:59 p.m.
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?