Merge [75392] to release. Fixes #6087.

[SVN r75756]
This commit is contained in:
Peter Dimov
2011-11-30 18:01:02 +00:00
parent 5fc9bf5bc5
commit 1c208ad3ea
3 changed files with 85 additions and 0 deletions
@@ -285,6 +285,15 @@ template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::
#endif // !defined(BOOST_NO_IOSTREAM)
// hash_value
template< class T > struct hash;
template< class T > std::size_t hash_value( boost::intrusive_ptr<T> const & p )
{
return boost::hash< T* >()( p.get() );
}
} // namespace boost
#endif // #ifndef BOOST_SMART_PTR_INTRUSIVE_PTR_HPP_INCLUDED