誰かが私に次のコンパイラエラーを説明してもらえますか?
struct B
{
};
template <typename T>
struct A : private T
{
};
struct C : public A<B>
{
C(A<B>); // ERROR HERE
};
示された行のエラーは次のとおりです。
test.cpp:2:1: error: 'struct B B::B' is inaccessible
test.cpp:12:7: error: within this context
アクセスできないのは正確には何ですか、またその理由は何ですか?