std::experimental::atomic_weak_ptr<T>:: atomic_weak_ptr
From cppreference.net
<
cpp
|
experimental
|
atomic weak ptr
|
constexpr
atomic_weak_ptr
(
)
noexcept
;
|
(1) | |
|
constexpr
atomic_weak_ptr
(
weak_ptr
<
T
>
desired
)
noexcept
;
|
(2) | |
|
atomic_weak_ptr
(
const
atomic_weak_ptr
&
)
=
delete
;
|
(3) | |
Konstruiert ein neues
atomic_weak_ptr
-Objekt.
1)
Der Standardkonstruktor initialisiert das Objekt in einen leeren Zustand.
2)
Initialisiert den zugrundeliegenden
weak_ptr<T>
mit
desired
. Die Initialisierung ist nicht atomar.
3)
Atomare Variablen sind nicht
CopyConstructible
.
Parameter
| gewünscht | - | Wert für die Initialisierung |