|
From: Foster B. <fos...@us...> - 2005-04-02 05:48:15
|
Update of /cvsroot/adobe-source/adobe-source/adobe/future In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17172/adobe/future Modified Files: assemblage.hpp memory.hpp Log Message: asl 1.0.2 Index: assemblage.hpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/future/assemblage.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** assemblage.hpp 3 Mar 2005 06:58:16 -0000 1.2 --- assemblage.hpp 2 Apr 2005 05:47:36 -0000 1.3 *************** *** 16,19 **** --- 16,21 ---- #include <boost/function.hpp> + #include <adobe/functional.hpp> + /*************************************************************************************************/ *************** *** 46,50 **** void delete_on_destruction(T& x) { ! signal_destruction(boost::bind(adobe::delete_ptr<T>(), x)); } --- 48,53 ---- void delete_on_destruction(T& x) { ! adobe::delete_ptr<T> deleter; ! signal_destruction(boost::bind(deleter,x)); } Index: memory.hpp =================================================================== RCS file: /cvsroot/adobe-source/adobe-source/adobe/future/memory.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** memory.hpp 3 Mar 2005 06:58:16 -0000 1.2 --- memory.hpp 2 Apr 2005 05:47:36 -0000 1.3 *************** *** 137,141 **** typedef T element_type; typedef T* pointer_type; ! typedef const T* const_pointer_type; template <class U> struct rebind { typedef adobe::ptr_traits<U> other; }; --- 137,141 ---- typedef T element_type; typedef T* pointer_type; ! typedef const pointer_type const_pointer_type; template <class U> struct rebind { typedef adobe::ptr_traits<U> other; }; |