GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::experimental::observer_ptr::operator*,(3) C++ Standard Libary std::experimental::observer_ptr::operator*,(3)

std::experimental::observer_ptr::operator*, - std::experimental::observer_ptr::operator*,


constexpr std::add_lvalue_reference_t<element_type> (1) (library fundamentals
operator*() const; TS v2)
constexpr element_type* operator->() const noexcept; (2) (library fundamentals
TS v2)


operator* and operator-> provide access to the object watched by *this.


The behavior of operator* is undefined if get() == nullptr.


(none)


1) Returns the object watched by *this, equivalent to *get().


2) Returns a pointer to the object watched by *this, i.e. get().


1) Throws nothing.


This section is incomplete
Reason: no example


get returns a pointer to the watched object
(public member function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.