Boost logo

Boost Users :

Subject: Re: [Boost-users] move() aware containers?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-03-31 21:35:09


AMDG

Noah Roberts wrote:
> I'm reading a pre-release of a book on C++0x threading. I'm using the
> boost::thread library since it's supposed to be pretty close. Now
> they're using std::vector<> though and I know it's not move ready.
>
> Is there a boost container I can mimic this with?

The containers in Boost.Interprocess support move, but
unless your compiler supports rvalue references, its move
emulation is incompatible with the move emulation
used by Boost.Thread. Unified move emulation is
a work in progress.

In Christ,
Steven Watanabe


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