From bb72e0a092ee608599a5f670a6ede9357787d66b Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 6 Nov 2012 16:23:09 +0000 Subject: [PATCH] Add specialization of sp_if_not_array. [SVN r81223] --- include/boost/smart_ptr/make_shared.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/smart_ptr/make_shared.hpp b/include/boost/smart_ptr/make_shared.hpp index cd8f662..601edd3 100644 --- a/include/boost/smart_ptr/make_shared.hpp +++ b/include/boost/smart_ptr/make_shared.hpp @@ -117,6 +117,10 @@ template< class T > struct sp_if_not_array< T[] > { }; +template< class T, std::size_t N > struct sp_if_not_array< T[N] > +{ +}; + #endif } // namespace detail