Implement allocate_local_shared for arrays

Also fix the local_shared_ptr constructor to use element_type
This commit is contained in:
Glen Fernandes committed 2017-06-29 13:05:03 -04:00
1 parent 48294c483f
commit be736e5088
18 files changed
+2047 -48

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ public:
#endif
// internal constructor, used by make_shared
BOOST_CONSTEXPR local_shared_ptr( boost::detail::lsp_internal_constructor_tag, T * px_, boost::detail::local_counted_base * pn_ ) BOOST_SP_NOEXCEPT : px( px_ ), pn( pn_ )
BOOST_CONSTEXPR local_shared_ptr( boost::detail::lsp_internal_constructor_tag, element_type * px_, boost::detail::local_counted_base * pn_ ) BOOST_SP_NOEXCEPT : px( px_ ), pn( pn_ )
{
}