|
Boost Users : |
From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2007-06-06 20:31:29
On Jun 6, 2007, at 6:10 AM, Boris wrote:
> Is it allowed to call connect() with the same argument (slot) a second
> time (without disconnecting in between)? I've been checking the
> documentation at
> http://www.boost.org/doc/html/boost/signalN.html#id1033842-bb but
> couldn't
> find any answer. I assume it is allowed (it doesn't throw any
> exception et
> al.) but don't want to build a software based on assumptions
> really. ;-)
Yes, you can call connect() with the same argument twice. You will
get two separate slots that call the same function.
Doug
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