/usr/share/cruisecontrol-bin-2.6.1/projects/qpid-trunk/cpp/src/qpid/ptr_map.h File Reference

Workaround for API change between boost 1.33 and 1.34. More...

#include <boost/ptr_container/ptr_map.hpp>
#include <boost/version.hpp>
#include <boost/type_traits/remove_const.hpp>

Include dependency graph for ptr_map.h:

Go to the source code of this file.

Namespaces

namespace  qpid
namespace  qpid::ptr_map

Functions

template<class PtrMapIter>
PtrMapIter::pointer qpid::ptr_map::get_pointer (const PtrMapIter &i)


Detailed Description

Workaround for API change between boost 1.33 and 1.34.

To be portable across these versions, code using boost::ptr_map iterators should use get_pointer(i) to get the pointer from a boost::ptr_map iterator.

Can be removed when we no longer support platforms on 1.33.

See also:
http://www.boost.org/libs/ptr_container/doc/ptr_container.html#upgrading-from-boost-v-1-33

Generated on Thu Apr 10 11:08:30 2008 for Qpid by  doxygen 1.4.7