Boost logo

Boost :

Subject: Re: [boost] [unordered] unordered_map forces non-const version of automatic assignment operator
From: Daniel James (dnljms_at_[hidden])
Date: 2011-11-24 04:47:07

On 23 November 2011 16:39, Löw, Tobias (STEAG Energy Services GmbH)
<Tobias.Loew_at_[hidden]> wrote:
> I just switched from boost version 1.47 to 1.48 and now I've got the effect that my compiler (msvc 2008) generates the wrong (i.e. non-const) assignment operator in the following example:

This is due to Boost.Move's move emulation. I think I should have
given it a release or two to settle down before I made Boost.Unordered
movable. There's some discussion of this at:

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