#ifndef ECORE_H
#include "../database.h"
#define ECORE_H
Database *base_provider; // ecore.h: error: expected initializer before ‘*’ token
template <class S, class T>
class ecore { // error: expected class-name before ‘{’ token
public:
~ecore(void){delete base_provider;};
ecore(void){base_provider = new Database();};
};
#endif // ECORE_H
<...>
why i've any get errors in this code?