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) | |
Construye un nuevo objeto
atomic_weak_ptr
.
1)
El constructor por defecto inicializa el objeto a un estado vacío.
2)
Inicializa el subyacente
weak_ptr<T>
con
desired
. La inicialización no es atómica.
3)
Las variables atómicas no son
CopyConstructible
.
Parámetros
| deseado | - | valor con el que inicializar |