Boost logo

Boost Users :

From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2008-02-29 10:01:09


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

On Thursday 28 February 2008 15:04 pm, Olaf Peter wrote:
>
> yes, but I do not get the expected output, I was not carefully enough?
>
> $ ./bind
> X, 11

bind takes its arguments by value. You need to wrap the foo object in a
boost::ref() call if you want to bind it as a reference.

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

iD8DBQFHyB465vihyNWuA4URAtkxAJ9yl/FgWOsT3zlDoXC2Q9UBTSs7nACePmT+
LnVEHdHuh0J/dzKrzl+BTCA=
=AJE7
-----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