std::experi..._ptr::reset(3)
β¨ std::experimental::observer_ptr::reset π
okay so bestie, welcome to the C++ Standard Libary page for std::experi..._ptr::reset(3) β yes, that truncated title is literally in the header, and we are keeping the vibe immaculate π«Ά
πΈ NAME πΈ
std::experimental::observer_ptr::reset β and yep, itβs std::experimental::observer_ptr::reset again. iconic, no notes π
π¦ Synopsis π¦
constexpr void reset( element_type* p = nullptr ) (library
fundamentals TS v2)
noexcept;
Set *this to watch the object pointed to by p. get() returns p after the call.
π Parameters π
ptrβ pointer to a new object to watch
π Example π
This section is incomplete Reason: no example
π See also π
releaseβ returns a pointer to the watched object and stops watching the object (public member function)
π Category π
Todono example
mwah π this page is served from http://cppreference.com and dated 2024.06.10 β source/version notes and date, periodt π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms