|
Boost : |
From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-10-15 10:20:42
On Tuesday 15 October 2002 06:11 am, graham.shanks_at_[hidden] wrote:
> template<typename F>
> const F& get_inspectable_slot(
> const F& f,
> BOOST_SIGNALS_NAMESPACE::detail::reference_tag)
> { return f.get(); }
... and that would be a bug. It should be:
template<typename F>
const F& get_inspectable_slot(
const reference_wrapper<F>& f,
BOOST_SIGNALS_NAMESPACE::detail::reference_tag)
{ return f.get(); }
It's fixed in CVS.
Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk