www.digitalmars.com         C & C++   DMDScript  

c++.beta - Undeclared in template error notice

Very, very - low priority.

template <class T> struct A { };

template <class T>
test& operator<<(test& t, const A<T>& a) { }
//Error: function expected
//Internal error: template 1656

void main() {
}

test is undeclared, and this is a byproduct of debugging templates, but..

Richard
Jan 24 2003