123456789101112131415161718192021222324252627282930313233 |
- #ifndef GET_POINTER_DWA20021219_HPP
- # define GET_POINTER_DWA20021219_HPP
- # include <boost/config/no_tr1/memory.hpp>
- namespace boost {
- template<class T> T * get_pointer(T * p)
- {
- return p;
- }
- template<class T> T * get_pointer(std::auto_ptr<T> const& p)
- {
- return p.get();
- }
- }
- #endif
|