...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::signals::scoped_connection — Limits a signal-slot connection lifetime to a particular scope.
class scoped_connection : private noncopyable // Exposition only { public: // construct/copy/destruct scoped_connection(const connection&); ~scoped_connection(); // connection management void disconnect() const; bool connected() const; };
scoped_connection
construct/copy/destructscoped_connection(const connection& other);
Effects: |
|
Throws: | Will not throw. |
~scoped_connection();
Effects: | If
|
Copyright © 2001-2004 Douglas Gregor |