
27 Aug
2004
27 Aug
'04
1:06 p.m.
"Howard Hinnant" <hinnant@twcny.rr.com> wrote in message news:632F334B-F7C0-11D8-8665-003065D18932@twcny.rr.com... | On Aug 26, 2004, at 7:03 PM, Thorsten Ottosen wrote: | | > I just wanted to hear if anybody had already made a move_ptr I could | > use? | | Fwiw, there's a copyright-free move_ptr at: | | http://home.twcny.rr.com/hinnant/Utilities/move_ptr Thanks. | But I don't recommend it. I really like Dave's move implementation | better, though it is less portable with current compilers (including | Metrowerks). I also think move_ptr should carry a destructor policy in | it's type: | | template<class T, class D = typename detail::default_delete<T>::type> | class move_ptr; definitely br Thorsten