Skip to content

Instantly share code, notes, and snippets.

@pystub
Last active February 19, 2016 01:12
Show Gist options
  • Save pystub/3d75db17100b056601da to your computer and use it in GitHub Desktop.
Save pystub/3d75db17100b056601da to your computer and use it in GitHub Desktop.
#include <vector>
int main(int argc, char*argv[]) {
auto a = std::vector<std::vector<int>> ({
std::vector<int>({1,2,3}),
std::vector<int>({4,5,6}),
std::vector<int>({7,8,9}),
});
auto b = std::vector<std::vector<int>> (3, std::vector<int>(3));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment