Boost logo

Boost Users :

Subject: Re: [Boost-users] boost.multi_index & IPC
From: Joaquín M LópezMuñoz (joaquin_at_[hidden])
Date: 2012-04-10 10:01:01


 <Viatcheslav.Sysoltsev <at> h-d-gmbh.de> writes:

>
> On Mon, 09 Apr 2012 14:44:10 +0200, 陈海峰 <chenhf2010 <at> qq.com> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net