|
Boost : |
From: Sylvester-Bradley, Gareth (Gareth.Sylvester-Bradley_at_[hidden])
Date: 2008-07-18 09:39:43
> > Bind can be used with weak_ptr values, but should function_equal
work
> > with binds holding weak_ptrs?
>
> Probably. Instead of specializing _bi::value<> it would be simpler to
just
> add a ref_compare overload for weak_ptr, as you've done for bind_t.
I couldn't make that work, because ref_compare() is passed _bi::value<
weak_ptr<T> > const&, not plain weak_ptr<T> const&.
We can't simply add a ref_compare overload() overload for value<
weak_ptr<T> > either, since value::t_ is private.
************************************************************************
The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only.
This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk