I have class T defined and implemented with a default constructor, a copy constructor and an assignment operator overloaded
I have tried to do the following
#include <vector>
//template <class Board>
typedef std::vector<Board> t_bvector;
with and without the comment, I am getting this error
../Piece.H:143:1: error: ‘t_bvector’ does not name a type
In file included from ../Board.C:1:0:
../Board.H:14:1: error: template declaration of ‘typedef’
In file included from ../Board.C:1:0:
I dont have C++11, and want to retain basic vector methods like .insert, .size is there a way to solve it? or a better suggestion for an STL container ?