Like this question already asked, I\'d like to initialize a container using STL where the elements are hard-coded in the cleanest manner possible. In this case, the elements
This does use g++ 4.4.1, with -std=c++0x
#include #include using namespace std; int main() { set> A = {{0,0,1},{0,1,0},{1,0,0},{0,0,0}}; }