名前空間
変種
操作

std::experimental::atomic_shared_ptr<T>::operator shared_ptr<T>

From cppreference.com
 
 
 
 
 
operator shared_ptr<T>() const noexcept;

atomic_shared_ptr の現在の値をアトミックにロードして返します。load() と同等です。

目次

[編集] パラメータ

(なし)

[編集] 戻り値

atomic_shared_ptr の現在の値。

[編集] 備考

関連するすべての use_count のインクリメントは、アトミック操作の一部として実行されることが保証されます。

[編集] 関連項目

アトミックオブジェクトの値をアトミックに取得する
(public member function) [編集]
English 日本語 中文(简体) 中文(繁體)