|
Boost : |
From: Bronek Kozicki (brok_at_[hidden])
Date: 2004-01-20 11:25:58
On Tue, 20 Jan 2004 16:37:48 +0100, Bronek Kozicki wrote:
> template <class U>
> friend move_ptr<U> move(move_ptr<U>& p)
> {return p;}
or :
template<class T>
class move_ptr : public detail::move_ptr_base {
// ...
friend move_ptr<T> move(move_ptr<T>& p)
{return p;}
I do not know which one is better. Any ideas ?
B.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk