载入中...
搜索中...
未找到
eve::LifetimeOwner类 参考
Sole owner of an opaque lifetime record; copying is forbidden. 更多...
#include <LifetimeWitness.h>
Public 成员函数 | |
| LifetimeOwner ()=default | |
| Allocate a lifetime record at owner construction. | |
| LifetimeOwner (const LifetimeOwner &)=delete | |
| LifetimeOwner & | operator= (const LifetimeOwner &)=delete |
| void | reset () noexcept |
| Invalidate witnesses without callbacks. | |
| LifetimeWitness | witness () const noexcept |
| Copy a witness without granting shared ownership. | |
详细描述
Sole owner of an opaque lifetime record; copying is forbidden.
在文件 LifetimeWitness.h 第 17 行定义.
构造及析构函数说明
◆ LifetimeOwner() [1/2]
|
default |
Allocate a lifetime record at owner construction.
◆ LifetimeOwner() [2/2]
|
delete |
成员函数说明
◆ operator=()
|
delete |
◆ reset()
|
inlinenoexcept |
Invalidate witnesses without callbacks.
在文件 LifetimeWitness.h 第 26 行定义.
被这些函数引用 eve::crowd::Crowd::~Crowd().
◆ witness()
|
inlinenoexcept |
该类的文档由以下文件生成:
- src/engine/common/LifetimeWitness.h