Update of /cvsroot/boost-sandbox/boost-sandbox/boost
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11613
Modified Files:
predestructible.hpp
Log Message:
Made predestruct public so users can define custom deleters that call
predestruct.
Index: predestructible.hpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/predestructible.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- predestructible.hpp 7 Feb 2007 18:14:48 -0000 1.2
+++ predestructible.hpp 3 Mar 2007 16:46:29 -0000 1.3
@@ -14,16 +14,13 @@
namespace boost
{
- template<typename T> class predestructing_deleter;
-
class predestructible
{
public:
- template<typename T> friend class predestructing_deleter;
+ virtual void predestruct() {}
protected:
predestructible() {}
virtual ~predestructible() {}
- virtual void predestruct() {}
};
}
#endif
|