Boost logo

Boost Users :

From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2007-02-23 18:16:29


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

On Friday 23 February 2007 18:07 pm, you wrote:
> > > bind( &slot_type::track, slot, _1 )
> >
> > You're right, I did, but we all knew what I meant. :-) As long as
> > we're in pedantic mode:
> >
> > bind( &slot_type::track, &slot, _1 )
>
> Well, if I was _really_ pedantic, I'd remind you that the clever
> designer of mem_fn made the following allowance:
>
> "the returned function object can take a pointer, a reference, or a
> smart pointer to an object instance as its first argument"
>
> Fortunately, I'm above that sort of thing :)

Or does it not work after all, due to binding to a copy of the slot object?

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

iD8DBQFF33XN5vihyNWuA4URAt0bAJ93OylELR/38Q5LZCBihPe5v3ynGACfZAq/
AJeqvikLUCXRYT4Zt22IOco=
=XPsR
-----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