Update of /cvsroot/boost/boost/boost/interprocess/smart_ptr
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29744/smart_ptr
Modified Files:
intrusive_ptr.hpp
Log Message:
no message
Index: intrusive_ptr.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/smart_ptr/intrusive_ptr.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- intrusive_ptr.hpp 12 May 2007 12:51:20 -0000 1.4
+++ intrusive_ptr.hpp 23 Jun 2007 12:52:18 -0000 1.5
@@ -23,7 +23,6 @@
#include <boost/assert.hpp>
#include <boost/interprocess/detail/utilities.hpp>
-#include <boost/interprocess/detail/generic_cast.hpp>
#include <functional> // for std::less
#include <iosfwd> // for std::basic_ostream
@@ -269,36 +268,6 @@
} // namespace boost
-/// @cond
-namespace boost{
-namespace interprocess{
-
-/*!Simulation of cast operators between pointers.*/
-template<class T, class VP>
-class cast_to< intrusive_ptr<T, VP> >
-{
- public:
- template<class S>
- static intrusive_ptr<T, VP> using_static_cast(const intrusive_ptr<S, VP> &s)
- { return intrusive_ptr<T, VP>(s, detail::static_cast_tag()); }
-
- template<class S>
- static intrusive_ptr<T, VP> using_reinterpret_cast(const intrusive_ptr<S,
VP> &s)
- { return intrusive_ptr<T, VP>(s, detail::reinterpret_cast_tag()); }
-
- template<class S>
- static intrusive_ptr<T, VP> using_const_cast(const intrusive_ptr<S, VP> &s)
- { return intrusive_ptr<T, VP>(s, detail::const_cast_tag()); }
-
- template<class S>
- static intrusive_ptr<T, VP> using_dynamic_cast(const intrusive_ptr<S, VP>
&s)
- { return intrusive_ptr<T, VP>(s, detail::dynamic_cast_tag()); }
-};
-/// @endcond
-
-} //namespace interprocess{
-} //namespace boost{
-
#include <boost/interprocess/detail/config_end.hpp>
#endif // #ifndef BOOST_INTERPROCESS_INTRUSIVE_PTR_HPP_INCLUDED
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs