V
Vasileios
Hello could someone help me please.
I have the following class definition
#include <ext/hash_set>
#include "tool.h"
class ToolContainer : public QObject
{
public:
typedef std::hash_set<Tool*> ToolSet;
....
....
....
and when I compile I get the following:
toolcontainer.h:9: template-id `hash_set<Tool*>' used as a declarator
toolcontainer.h:9: parse error before `;' token
Any ideas why and how I could correct this error?
I am using GCC 3.27
I have the following class definition
#include <ext/hash_set>
#include "tool.h"
class ToolContainer : public QObject
{
public:
typedef std::hash_set<Tool*> ToolSet;
....
....
....
and when I compile I get the following:
toolcontainer.h:9: template-id `hash_set<Tool*>' used as a declarator
toolcontainer.h:9: parse error before `;' token
Any ideas why and how I could correct this error?
I am using GCC 3.27