Boost logo

Boost :

Subject: Re: [boost] [interprocess] default constructors
From: Jan Stetka (janpstetka_at_[hidden])
Date: 2008-11-30 06:11:17


Ion Gaztañaga wrote:
> Jan Stetka wrote:
>> I'm don't known what "move semantics" are, my motive is so I can have
>> named_mutex and managed_shared_memory in the global scope without
>> having to instantiate as pointers.
>
> In other words, you want to create a default-constructed type and then
> swap it with a named constructed one when you have enough data to build
> a named object?
>
> I will add default-constructors to my to-do list.
>
> Regards,
>
> Ion
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>

Does the shared memory get destroyed when theses types go out of scope
or am I safe with local instances, if so I don't need the default
constructors. You've designed the library so well that it is showing
problems in my coding style :-)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk