Boost logo

Boost Users :

Subject: Re: [Boost-users] [ptr_container] Dereferencing boost::signals2::signal from ptr_map
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2009-09-11 12:08:12


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

On Thursday 10 September 2009, Philipp Gildein wrote:
> Hi,
>
> I got a huge problem with a boost::ptr_map. I am storing instances of
> boost::signals2::signal in it and try to dereference a iterator to one
> of those instances, to be able to call the operator () of the signal.
> This compiles correctly on Linux and gcc 4.4 but fails on Windows using
> Visual C++ 2008.

I believe you are hitting this problem:

http://lists.boost.org/boost-users/2009/04/47572.php

It should be fixed in 1.40, or you could apply the changeset 52627 to your
version of boost. You can also work around it by turning off iterator
checking.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqqdewACgkQ5vihyNWuA4UggwCfR+YgQNLcFe3jwaujalwDy2XO
N8YAn3vgPirAChLGvba63O3AML3Di8fc
=+L/0
-----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