Boost Users :
Subject: Re: [Boost-users] [signals2] connection blocking
From: Bryan Green (bryan.d.green_at_[hidden])
Date: 2009-05-18 14:18:01
Bryan Green writes:
> I suppose I don't need the connection object at all if the widget itself is
> trackable. But now that I've looked at the shared_connection_block code,
> I'm wondering, why is it noncopyable? It looks to me like it could be.
> If it were copyable/assignable (and ultimately, movable), I wouldn't need t=
> dynamically allocate it.
I have correct what I said here. The problem isn't copyability (they are
copyable). Its that the shared_connection_block cannot be
default-constructed. What would be the repercussions of allowing default
construction of shared_connection_block objects?
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