Boost logo

Boost :

Subject: Re: [boost] Ominous Warning — should I be worried?
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2013-12-23 17:42:13

El 23/12/2013 20:41, John M. Dlugosz escribió:
> I'm compiling with VS10, and using Boost 1.49.0
> “reference member is initialized to a temporary that doesn't persist
> after the constructor exits”
> That does not sound good, and browsing through the mailing list archives
> I see discussions of regressions in 2010 that cite C4413 and use of
> emplace.
> I can't read the source code because it's just a ball of preprocessor
> stuff. Is this a real problem or a warning that can be ignored? I
> would think that if Boost.Container was broken on VS10, it would be
> mentioned somewhere where it's easy to spot.

I think this is related to the early and non-conforming VC2010 rvalue
reference implementation. A workaround was found and the issue was fixed
in later Boost releases.



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