L
lp-boy
Hello!
Is the following code legal?
template<class T>
struct holder{};
struct A
{
holder<struct B*> h; //!!!
//but holder<B*> h; error: B was not declared
};
int main()
{
A a;
}
If yes, why? Thanks in advance.
Is the following code legal?
template<class T>
struct holder{};
struct A
{
holder<struct B*> h; //!!!
//but holder<B*> h; error: B was not declared
};
int main()
{
A a;
}
If yes, why? Thanks in advance.