Article ID: 130551
Article Last Modified on 7/5/2005
B<A> a; a.B<A>::~B();Workaround:
B<A> a; a.B< class A >::~B();
/* Compile options needed: none.
*/
class A
{
public:
A() {}
~A() {}
};
template < class T >
class B
{
public:
B() {}
~B() {}
};
void main()
{
B<A> a;
// Workaround: change the following line into a comment
// and change the line after that into an executed line of code.
a.B<A>::~B();
// a.B<class A>::~B();
}
Additional query words: 9.00 2.00 2.10 9.10
Keywords: kbbug kbfix KB130551