On Thu, 19 Jul 2007 23:38:50 +0800, Ling-hua Tseng wrote
> It's not a bug.
> When you are using class template, the `total template
> specialization' may be wrote by someone. Since the C++ compiler
> expect anything, you should to use one of the following 3 solutions:
^^^ cannot exp
It's not a bug.
When you are using class template, the `total template specialization' may
be wrote by someone.
Since the C++ compiler expect anything, you should to use one of the
following 3 solutions:
1. use `this->Baz()' instead of `Baz()'.
2. write `using Foo::Baz();' in the derived clas
Hi, I've found strange behavior, possibly a bug, but more likely a
problem with my understanding. Here's the code:
template class Foo {
public:
void Baz() {}
};
template class Bar : public Foo {
public:
void Bum() { Baz(); }
};
(I know it doesn't make much sense, I reduced the pro