Código:
typedef list<Palabra *> LP;
class TablaDispercionAbierta {
private:
set<string> conjunto;
LP tabla[10];
Error:
@ubuntu:~/Desktop/tabla$ g++ -c TablaDispercionAbierta.cpp
In file included from TablaDispercionAbierta.cpp:4:0:
TablaDispercionAbierta.h:14:5: error: ISO C++ forbids declaration of ‘LP’ with no type [-fpermissive]
Lo intento compilar con g++ en ubuntu.