Document shared_ptr atomic access functions

This commit is contained in:
Peter Dimov
2017-06-18 15:24:00 +03:00
parent 6474847481
commit 7ed8583a9c
2 changed files with 101 additions and 1 deletions
+1 -1
View File
@@ -1090,7 +1090,7 @@ template<class T> shared_ptr<T> atomic_exchange( shared_ptr<T> * p, shared_ptr<T
return r; // return std::move( r )
}
template<class T> shared_ptr<T> atomic_exchange_explicit( shared_ptr<T> * p, shared_ptr<T> r, /*memory_order mo*/ int ) BOOST_SP_NOEXCEPT
template<class T> shared_ptr<T> inline atomic_exchange_explicit( shared_ptr<T> * p, shared_ptr<T> r, /*memory_order mo*/ int ) BOOST_SP_NOEXCEPT
{
return atomic_exchange( p, r ); // std::move( r )
}