Merged revision(s) 81488 from trunk: Apply patch from #7722. Fixes #7722.

[SVN r81714]
This commit is contained in:
Peter Dimov
2012-12-05 03:44:40 +00:00
parent 88c2baa20b
commit 32fe0b8f26

View File

@@ -35,7 +35,10 @@
// rather than including <memory> directly: // rather than including <memory> directly:
#include <boost/config/no_tr1/memory.hpp> // std::auto_ptr #include <boost/config/no_tr1/memory.hpp> // std::auto_ptr
#include <functional> // std::less #include <functional> // std::less
#include <new> // std::bad_alloc
#ifdef BOOST_NO_EXCEPTIONS
# include <new> // std::bad_alloc
#endif
#if !defined( BOOST_NO_CXX11_SMART_PTR ) #if !defined( BOOST_NO_CXX11_SMART_PTR )
# include <boost/utility/addressof.hpp> # include <boost/utility/addressof.hpp>