I think this is not a problem which container you use. You can do it like
void func(std::vector<std::vector<int> > const& int_matrix);
or in C ++ 11, the next >one will not be considered a “→”, so you can also use
void func(std::vector<std::vector<int>> const& int_matrix);
, , STL, , . STL . .