Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2013. The current version is 1.90.0.
boost::signal — Safe multicast callback.
template<typename Signature, // Function type R (T1, T2, ..., TN)          typename Allocator = std::allocator<void>,          typename Combiner = last_value<R>,          typename Group = int,          typename GroupCompare = std::less<Group>,          typename SlotFunction = function<Signature> > class signal : public signalN<R, T1, T2, ..., TN, Combiner, Group, GroupCompare, SlotFunction> { public:   // construct/copy/destruct   signal(const combiner_type& = combiner_type(),          const group_compare_type& = group_compare_type()); };
Class template signal is a thin wrapper around the numbered class templates signal0, signal1, etc. It accepts a function type with N arguments instead of N separate arguments, and derives from the appropriate signalN instantiation.
All functionality of this class template is in its base class signalN.
| Last revised: , at GMT | Copyright © 2001-2003 Douglas Gregor |