...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::slot — Pass slots as function arguments.
// In header: <boost/signals/slot.hpp> template<typename SlotFunction> class slot { public: // construct/copy/destruct template<typename Slot> slot(Slot); };
slot
public
construct/copy/destructtemplate<typename Slot> slot(Slot target);
Effects: |
Invokes
Initializes |