Infinite template recursion

suggest change

Example from the Standard, [temp.inst]/17:

template<class T> class X {
    X<T>* p; // OK
    X<T*> a; // implicit generation of X<T> requires
             // the implicit instantiation of X<T*> which requires
             // the implicit instantiation of X<T**> which ...
};

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents