|
Boost Users : |
Subject: Re: [Boost-users] Valgrind false positive in make_shared
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2010-11-16 15:10:35
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 16 November 2010, Frank Mori Hess wrote:
> It looks like it might be a bug in make_shared's perfect forwarding when
> compiling in c++0x mode.
Another bit of info: getting rid of the static_cast in
boost::detail::sp_forward makes both the compiler warning and valgrind
error go away, although I have no idea why.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkzi5TwACgkQ5vihyNWuA4UcUgCaAzrGpRsNwELdj6AxoOWQszVp
KrwAoItTgtPc0pqyPnY+Ztq3oC/QG6GY
=3/MC
-----END PGP SIGNATURE-----
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