A
asdf
Here is a line of code that I'm trying to replace to use std::vector:
Foo theFoos[MAX_ROWS][MAX_COLS];
I tried to use vectors with
std::vector< std::vector< Foo > > theFoos( MAX_ROWS, std::vector<Foo>(
MAX_COLS ) );
But the complier is giving me problems saying that copy ctor is private
for Foo ...
Sooooo .... what can I do to fix this with just changing 1 line of code
??
Foo theFoos[MAX_ROWS][MAX_COLS];
I tried to use vectors with
std::vector< std::vector< Foo > > theFoos( MAX_ROWS, std::vector<Foo>(
MAX_COLS ) );
But the complier is giving me problems saying that copy ctor is private
for Foo ...
Sooooo .... what can I do to fix this with just changing 1 line of code
??