Boost logo

Boost :

Subject: Re: [boost] boost::interprocess -- How do I construct a anonymous object ?
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2009-03-27 11:56:40

Oncaphillis wrote:
> Hi,
> I'm using boost::interprocess (1.37) and would like to construct
> a couple of anonymous objects. The idea is to construct a named
> object via
> Object *o segment.find_or_construct<Object>("theObject")();


using namespace boost::interprocess;

MyType *ptr =
       (par1, par2...);

//Other construct variants can also be used
//(including non-throwing ones)

//We can only destroy the anonymous object via pointer




Boost list run by bdawes at, gregod at, cpdaniel at, john at