std::experimental::observer_ptr<W>:: reset
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 | ||||
|
observer_ptr::reset
|
||||
| Observers | ||||
| Conversions | ||||
| Non-member functions | ||||
|
constexpr
void
reset
(
element_type
*
p
=
nullptr
)
noexcept
;
|
(라이브러리 펀더멘털 TS v2) | |
* this 를 p 가 가리키는 객체를 관찰하도록 설정합니다. get() 은 호출 후 p 를 반환합니다.
매개변수
| ptr | - | 감시할 새 객체에 대한 포인터 |
예제
|
이 섹션은 불완전합니다
이유: 예제가 없음 |
참고 항목
|
감시 중인 객체에 대한 포인터를 반환하고 객체 감시를 중지합니다
(public member function) |