Boost logo

Boost Users :

Subject: Re: [Boost-users] can't extend boost::any on windows
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2008-12-16 15:28:28


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 16 December 2008 13:49 pm, Steven Watanabe wrote:
> Value& operator=(const Value& arg) {
> static_cast<Value&>(*this) = static_cast<const boost::any&>(arg);

Shouldn't the left hand side cast be "static_cast<boost::any&>(*this)" ?
 
> }
> };
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJSA9t5vihyNWuA4URAqiWAJ9645ffY4wvfxQgcwKF/rvOwVztPgCfTz8U
8dNQyxoP2rmc1i1u/hA+m3c=
=ayUi
-----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