Class template slot
boost::slot — Pass slots as function arguments.
Synopsis
template<typename SlotFunction> class slot { public: // construct/copy/destruct template<typename Slot> slot(Slot); };
Description
slot
public
construct/copy/destruct
-
template<typename Slot> slot(Slot target);
Effects:
Invokes
visit_each(unqualified) to discover pointers and references tosignals::trackableobjects intarget.Initializes
thisto contain the incoming slottarget, which may be any function object with which aSlotFunctioncan be constructed.
