
29 Oct
2011
29 Oct
'11
1:49 a.m.
On Friday, October 28, 2011, Szymon Gatner wrote:
Additionally, within specific sub-systems signal-slot connections are single-threaded and using:
namespace bs2 = boost::signals2; using bs2::keywords; bs2::signal_type
bs2::dummy_mutex >::type sig; instead of:
signal
sig; especially multiple times in single class definition is just horrible. Or am I missing some easy way to redefine default mutex?
Would it work to define your own signal metafunction, that sets the template parameters to defaults you like and only takes a Signature template? Example attached.