Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION

[SVN r86248]
This commit is contained in:
Stephen Kelly
2013-10-11 23:20:59 +00:00
parent 8767b9580e
commit f5e6e4063e
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
#include <boost/smart_ptr/make_shared_object.hpp>
#if !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION ) && !defined( BOOST_NO_SFINAE )
#if !defined( BOOST_NO_SFINAE )
# include <boost/smart_ptr/make_shared_array.hpp>
# include <boost/smart_ptr/allocate_shared_array.hpp>
#endif

View File

@ -226,7 +226,7 @@ inline void sp_enable_shared_from_this( ... )
#endif // _MANAGED
#if !defined( BOOST_NO_SFINAE ) && !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION ) && !defined( BOOST_NO_AUTO_PTR )
#if !defined( BOOST_NO_SFINAE ) && !defined( BOOST_NO_AUTO_PTR )
// rvalue auto_ptr support based on a technique by Dave Abrahams