Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2002-09-23 07:56:17


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

On Sunday 22 September 2002 23:12, Douglas Gregor wrote:
>
> Thanks for catching this. I've added a testcase for it, and committed a fix
> that _should_ be portable (about to test MSVC6...) to both the branch and
> trunk.

IIUC there is another glitch.
inline void add_if_trackable(const trackable* b, truth<true>) const checks
for b being null. Either this check is obsolete or the code depends on
undefined behaviour as b's value gets dereferenced in
void maybe_get_pointer(const T& t, truth<true>) const.

Regards

- --Thomas

- --
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
http://www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9jw910ds/gS3XsBoRAkYeAJ9A6YWy8RczWCr45wDS1XaSrJeoCQCeKMLF
JC3Vt1Ue9r4zeUplHeMSBU0=
=qo5H
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk