vendredi 30 septembre 2016

C++ vector allocator error

I'm trying compile with gcc

#include <string>
#include <vector>

std::vector < std::string, std::vector < std::vector < int > > > plain;

int main(){
return 0;
}

But getting a error: error: ‘class std::vector, std::allocator > >’ has no member named ‘deallocate’

Aucun commentaire:

Enregistrer un commentaire