I am trying to set up a variable of type std::map<std::string, std::vector<int>> arrayInfo84
in NetBeans, but this is causing Code Assistance to throw a fit saying
Unable to resolve Identifier arrayInfo84
Unexpected token: map
Unexpected token: ;
My other map variables with more basic datatypes (i.e. string
int
etc.) work fine. It seems to be an issue with vectors. And before anyone asks, yes I do have #include<vector>
in my header.
I'm guessing this is some issue with supporting C++11. However, I cannot figure out how to fix this. My tool collection is the latest version of CygWin.
Aucun commentaire:
Enregistrer un commentaire