Check out example codes for "typedef vector c++". It will help you in understanding the concepts better.

Code Example 1

#include <vector>
      //template <class Board>
      typedef std::vector<Board> t_bvector;

Learn ReactJs, React Native from akashmittal.com