...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
1. |
Don't noncopyable signal semantics mean that a class with a signal member will be noncopyable as well? |
No. The compiler will not be able to generate a copy constructor or copy assignment operator for your class if it has a signal as a member, but you are free to write your own copy constructor and/or copy assignment operator. Just don't try to copy the signal. |
|
2. |
Is Boost.Signals2 thread-safe? |
Yes, as long as the Mutex template parameter is not set to
a fake mutex type like See the documentation section on thread-safety for more information. |
Last revised: June 12, 2007 at 14:01:23 -0400 |