pointer operator->() const noexcept;
operator-> provide access to the object owned by *this.
The behavior is undefined if get() == nullptr.
These member functions are only provided for
unique_ptr for the single objects i.e. the primary template.
 Return value
pointerhas a throwing
Foo::bar f(const Foo&)
 Defect reports
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
|DR||Applied to||Behavior as published||Correct behavior|
||a conditional exception specification added|
 See also
| returns a pointer to the managed object |
(public member function)