File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
include/boost/interprocess/allocators/detail Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -450,11 +450,13 @@ class array_allocation_impl
450450 // !Throws if T's constructor throws
451451 // !For backwards compatibility with libraries using C++03 allocators
452452 template <class P >
453+ BOOST_DEPRECATED (" This function is deprecated and will be removed in the future" )
453454 void construct (const pointer &ptr, BOOST_FWD_REF(P) p)
454455 { ::new ((void *)ipcdetail::to_raw_pointer (ptr), boost_container_new_t ()) value_type (::boost::forward<P>(p)); }
455456
456457 // !Destroys object. Throws if object's
457458 // !destructor throws
459+ BOOST_DEPRECATED (" This function is deprecated and will be removed in the future" )
458460 void destroy (const pointer &ptr)
459461 { BOOST_ASSERT (ptr != 0 ); (*ptr).~value_type (); }
460462};
You can’t perform that action at this time.
0 commit comments