std::weak_ptr wrapper that do not allow you to create strong pointer (std::shared_ptr)
More...
|
| template<class U > |
| | link (const std::weak_ptr< U > &pWeak) noexcept |
| | link object constructor More...
|
| |
| | link (std::weak_ptr< T > pWeak) noexcept |
| | link object constructor More...
|
| |
| template<class U > |
| | link (const std::shared_ptr< U > &pStrong) noexcept |
| | link object constructor More...
|
| |
| template<class U > |
| | link (const link< U > &pLink) noexcept |
| | link object constructor More...
|
| |
| template<class U > |
| link & | operator= (const link< U > &pLink) noexcept |
| | operator= More...
|
| |
| template<class U > |
| | link (link< U > &&pLink) noexcept |
| | link object constructor More...
|
| |
| template<class U > |
| link & | operator= (link< U > &&pLink) noexcept |
| | operator= More...
|
| |
| | link (std::nullptr_t) noexcept |
| | link object constructor More...
|
| |
| lock_ptr | lock () const noexcept |
| | Lock and return strong pointer. More...
|
| |
|
void | reset () noexcept |
| | Reset weak pointer.
|
| |
| bool | expired () const noexcept |
| | If pointer is expired. More...
|
| |
| | operator bool () const noexcept |
| | If pointer is expired. More...
|
| |
template<class T>
class qx::link< T >
std::weak_ptr wrapper that do not allow you to create strong pointer (std::shared_ptr)
- Template Parameters
-
- Author
- Khrapov
- Date
- 21.11.2021
Definition at line 30 of file link.h.