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

@@ -502,6 +502,10 @@ public:
state_.size());
}
T& state() BOOST_SP_NOEXCEPT {
return state_;
}
virtual void dispose() {
sp_array_destroy<E>(state_.allocator(), sp_array_start<type>(this),
state_.size());