载入中...
搜索中...
未找到
eve::LifetimeWitness类 参考

Owner-thread lifetime observation; cannot retain or access its owner. 更多...

#include <LifetimeWitness.h>

Public 成员函数

 LifetimeWitness ()=default
 Construct an invalid witness.
 
bool isAlive () const noexcept
 Query original owner liveness; owner-thread only.
 

友元

class LifetimeOwner
 

详细描述

Owner-thread lifetime observation; cannot retain or access its owner.

在文件 LifetimeWitness.h 第 6 行定义.

构造及析构函数说明

◆ LifetimeWitness()

eve::LifetimeWitness::LifetimeWitness ( )
default

Construct an invalid witness.

成员函数说明

◆ isAlive()

bool eve::LifetimeWitness::isAlive ( ) const
inlinenoexcept

Query original owner liveness; owner-thread only.

在文件 LifetimeWitness.h 第 14 行定义.

友元及相关函数文档

◆ LifetimeOwner

friend class LifetimeOwner
friend

在文件 LifetimeWitness.h 第 7 行定义.


该类的文档由以下文件生成: