|
Boost : |
From: Frank Mori Hess (fmhess_at_[hidden])
Date: 2008-08-26 22:27:20
On Tuesday 26 August 2008 17:44, Stjepan Rajko wrote:
> 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/boos
>t/last_value.hpp#L68
>
> Could the thread-safe version be made consistent with Boost.Signals?
Ok, I've done it in svn. By the way, did you mean to make struct unusable
private in boost.signals last_value<void>? Because it's declared as a
struct so it is actually public.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk