$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] is it safe to do this with signals?
From: Germán Diago (germandiago_at_[hidden])
Date: 2010-03-28 08:21:41
Hello. I have a class like this:
class MyClass : public trackable {
unique_ptr<void ()> Signal1;
...
};
This class is movable. So I move everything when transferring the internals.
I would like to know if this is safe to do in the presence of a
trackable base class or
if when the moved instance is destroyed this could cause problems. Thanks.