std::experimental::observer_ptr<W>:: get
From cppreference.net
<
cpp
|
experimental
|
observer ptr
C++
Experimental
| Technical Specification | ||||
| Filesystem library (filesystem TS) | ||||
| Library fundamentals (library fundamentals TS) | ||||
| Library fundamentals 2 (library fundamentals TS v2) | ||||
| Library fundamentals 3 (library fundamentals TS v3) | ||||
| Extensions for parallelism (parallelism TS) | ||||
| Extensions for parallelism 2 (parallelism TS v2) | ||||
| Extensions for concurrency (concurrency TS) | ||||
| Extensions for concurrency 2 (concurrency TS v2) | ||||
| Concepts (concepts TS) | ||||
| Ranges (ranges TS) | ||||
| Reflection (reflection TS) | ||||
| Mathematical special functions (special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
std::experimental::observer_ptr
| Member functions | ||||
| Modifiers | ||||
| Observers | ||||
|
observer_ptr::get
|
||||
| Conversions | ||||
| Non-member functions | ||||
|
constexpr
element_type
*
get
(
)
const
noexcept
;
|
(库基础技术规范 v2) | |
返回被监视对象的指针,若无对象被监视则返回 nullptr 。
目录 |
参数
(无)
返回值
指向被监视对象的指针,若未监视任何对象则为 nullptr 。
示例
|
本节内容不完整
原因:缺少示例 |
参见
|
返回被监视对象的指针并停止监视该对象
(公开成员函数) |