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
> 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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk