forked from boostorg/smart_ptr
Disable make_shared for arrays when the compiler doesn't support partial specialization or SFINAE.
[SVN r81260]
This commit is contained in:
@ -13,7 +13,10 @@
|
|||||||
// for documentation.
|
// for documentation.
|
||||||
|
|
||||||
#include <boost/smart_ptr/make_shared_object.hpp>
|
#include <boost/smart_ptr/make_shared_object.hpp>
|
||||||
#include <boost/smart_ptr/make_shared_array.hpp>
|
|
||||||
#include <boost/smart_ptr/allocate_shared_array.hpp>
|
#if !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION ) && !defined( BOOST_NO_SFINAE )
|
||||||
|
# include <boost/smart_ptr/make_shared_array.hpp>
|
||||||
|
# include <boost/smart_ptr/allocate_shared_array.hpp>
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // #ifndef BOOST_SMART_PTR_MAKE_SHARED_HPP_INCLUDED
|
#endif // #ifndef BOOST_SMART_PTR_MAKE_SHARED_HPP_INCLUDED
|
||||||
|
Reference in New Issue
Block a user