Studio 12.6 gives errors when 'using' directive is used to make a method from private-inherited class accessible as public from derived class:
class A {
public:
operator bool() const;
};
class B: private A {
public:
using A::operator bool;
};
bool use(B b)
{
return !!b;
}
!!b;
Error:
line 15: Error: A::operator bool() const is not accessible from use(B).
1 Error(s) detected.
Studio 12.5 compiled this example fine