C ++: специализирующемуся члену требуется синтаксис «template <>»
Что я делаю неправильно?
template
class Binder
{
public:
static std::vector< Binder< T >* > all;
Node* from;
Node* to;
Binder(Node* fnode, Node* tonode)
{
from = fnode;
to = tonode;
Binder::all.push_back(this);
}
};
std::vector Binder::all = std::vector< Binder* >(); //here it is
Спасибо.