struct B{};
template <typename T>
struct A : private T{};
struct C : public A<B>{
C(A<const B>); // ERROR HERE
};
int main(){
}
Standard input is empty
prog.cpp:1:9: error: 'struct B B::B' is inaccessible prog.cpp:7:7: error: within this context
Standard output is empty