
16 Aug
2014
16 Aug
'14
11:49 a.m.
El 15/08/2014 14:49, 张国熙 escribió:
Dear everyone,
I've just begun learning to use IPC in boost. Here I want to create a vector of vector<std::complex<double>>, that is to say, a matrix of complex.
m->resize(4);
A shared memory vector is not default constructible so you can't resize it without giving an argument. m->reserve(4); m->resize(4, (*m)[0]); should work. Best, Ion