26 Aug 23:43
[thread_safe_signals] returning void from last_value when possible
From: Stjepan Rajko <stipe <at> asu.edu>
Subject: [thread_safe_signals] returning void from last_value when possible
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-08-26 21:44:33 GMT
Subject: [thread_safe_signals] returning void from last_value when possible
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-08-26 21:44:33 GMT
Hello, When dealing with a signature of void return type, the Boost.Signals version of last_value only returns last_value::unusable when the compiler doesn't support void returns: http://svn.boost.org/trac/boost/browser/trunk/boost/last_value.hpp#L34 But the thread-safe version always returns last_value::unusable: http://svn.boost.org/trac/boost/browser/sandbox/thread_safe_signals/boost/last_value.hpp#L68 Could the thread-safe version be made consistent with Boost.Signals? Thanks, Stjepan _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RSS Feed