vendredi 28 septembre 2018

vector

I am writing a program right now where I have to have only alpha characters, and one is only integers.

I have made a header file for the alpha character vectors and one for the int vectors.

I have vector<vector<char>> and vector<vector<int>>

Is it possible for c++11 to figure out what type of 2d vector I want with something like

vector<vector<auto>>

or does this not exist in c++

Aucun commentaire:

Enregistrer un commentaire