B
Bart Blommerde
Hi,
My question is about the STL extensions hash_set and hash_map, especially
the SGI versions of these templates. When defining a class like this :
#include <hash_set>
class MyClass : public hash_set<int>
{
// members here.
};
gcc2.95 would compile it without any errors or warnings. When using gcc3.3
however, compilation results in a syntax error (syntax error before '<').
Yes, I included ext/hash_set instead of hash_set, but it still doesn't seem
to recognize the hash_set as a defined template type.
Anyone got any idea what I'm doing wrong? I already tried full
specialization with hash_set<int, hash<int>, eqint, alloc<int> > but this
won't help either.
thanx for any help.
B.B.
My question is about the STL extensions hash_set and hash_map, especially
the SGI versions of these templates. When defining a class like this :
#include <hash_set>
class MyClass : public hash_set<int>
{
// members here.
};
gcc2.95 would compile it without any errors or warnings. When using gcc3.3
however, compilation results in a syntax error (syntax error before '<').
Yes, I included ext/hash_set instead of hash_set, but it still doesn't seem
to recognize the hash_set as a defined template type.
Anyone got any idea what I'm doing wrong? I already tried full
specialization with hash_set<int, hash<int>, eqint, alloc<int> > but this
won't help either.
thanx for any help.
B.B.