10 Apr
2012
10 Apr
'12
2:01 p.m.
On Mon, 09 Apr 2012 14:44:10 +0200, 陈海峰
wrote: std::vector<quote> result; result.push_back(q); this statement will compile error, > >
why? how to
Unless I miss something in modern STL, you need copy constructor for quote.
The ctor is generated automitically unless ome of the members are not copyable. The only suspicious guy here is shm_string. But having the compiler error would saves us some wild guessing. Joaquín M López Muñoz Telefónica Digital