chun ping wang wrote:
> vector<boost::array<int, 4> > v;
> v.push_back({4, 9, 11, 19});
I already gave you an example.
You need to use an intermediate variable.
You could also do this to prevent copying:
v.resize(v.size()+1);
v[v.size()-1][0] = 4;
v[v.size()-1][1] = 9;
v[ v.size()-1][2] = 11;
v[v.size()-1][3] = 19;
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users