std::experimental::observer_ptr<W>::observer_ptr (3) - Linux Manuals
std::experimental::observer_ptr<W>::observer_ptr: std::experimental::observer_ptr<W>::observer_ptr
Command to display std::experimental::observer_ptr<W>::observer_ptr
manual in Linux: $ man 3 std::experimental::observer_ptr<W>::observer_ptr
NAME
std::experimental::observer_ptr<W>::observer_ptr - std::experimental::observer_ptr<W>::observer_ptr
Synopsis
constexpr observer_ptr() noexcept; (1) (library fundamentals TS v2)
constexpr observer_ptr( nullptr_t ) noexcept;
explicit observer_ptr( element_type* p ) noexcept; (2) (library fundamentals TS v2)
template<class W2> (3) (library fundamentals TS v2)
observer_ptr( observer_ptr<W2> other ) noexcept;
observer_ptr( const observer_ptr& other ) = default; (4) (library fundamentals TS v2)
(implicitly declared)
observer_ptr( observer_ptr&& other ) = default; (5) (library fundamentals TS v2)
(implicitly declared)
1) Constructs an observer_ptr that has no corresponding watched object.
2) Constructs an observer_ptr that watches p.
3) Constructs an observer_ptr that watches other.get(). This constructor does not participate in overload resolution unless W2* is convertible to element_type*.
4-5) Implicitly declared copy and move constructors. Constructs an observer_ptr that watches other.get().
Parameters
p - a pointer to an object to watch
other - another observer_ptr to copy from
Pages related to std::experimental::observer_ptr<W>::observer_ptr
- std::experimental::observer_ptr<W>::operator*, (3) - std::experimental::observer_ptr<W>::operator*,
- std::experimental::observer_ptr<W>::operator*,std::experimental::observer_ptr<W>::operator-> (3) - std::experimental::observer_ptr<W>::operator*,std::experimental::observer_ptr<W>::operator->
- std::experimental::observer_ptr<W>::operatorbool (3) - std::experimental::observer_ptr<W>::operatorbool
- std::experimental::observer_ptr<W>::operatorelement_type* (3) - std::experimental::observer_ptr<W>::operatorelement_type*
- std::experimental::observer_ptr<W>::get (3) - std::experimental::observer_ptr<W>::get
- std::experimental::observer_ptr<W>::release (3) - std::experimental::observer_ptr<W>::release
- std::experimental::observer_ptr<W>::reset (3) - std::experimental::observer_ptr<W>::reset
- std::experimental::observer_ptr<W>::swap (3) - std::experimental::observer_ptr<W>::swap
- std::experimental::observer_ptr (3) - std::experimental::observer_ptr
- std::experimental::optional (3) - std::experimental::optional
- std::experimental::optional<T>::emplace (3) - std::experimental::optional<T>::emplace
- std::experimental::optional<T>::operator->,std::experimental::optional<T>::operator* (3) - std::experimental::optional<T>::operator->,std::experimental::optional<T>::operator*
- std::experimental::optional<T>::operator= (3) - std::experimental::optional<T>::operator=
- std::experimental::optional<T>::operatorbool (3) - std::experimental::optional<T>::operatorbool
- std::experimental::optional<T>::optional (3) - std::experimental::optional<T>::optional
- std::experimental::optional<T>::swap (3) - std::experimental::optional<T>::swap
- std::experimental::optional<T>::value (3) - std::experimental::optional<T>::value
- std::experimental::optional<T>::value_or (3) - std::experimental::optional<T>::value_or
- std::experimental::optional<T>::~optional (3) - std::experimental::optional<T>::~optional
- std::experimental::ostream_joiner (3) - std::experimental::ostream_joiner
- std::experimental::ostream_joiner<DelimT,CharT,Traits>::operator++ (3) - std::experimental::ostream_joiner<DelimT,CharT,Traits>::operator++
- std::experimental::ostream_joiner<DelimT,CharT,Traits>::operator= (3) - std::experimental::ostream_joiner<DelimT,CharT,Traits>::operator=
- std::experimental::ostream_joiner<DelimT,CharT,Traits>::ostream_joiner (3) - std::experimental::ostream_joiner<DelimT,CharT,Traits>::ostream_joiner
- std::experimental::overaligned_tag,std::experimental::overaligned (3) - std::experimental::overaligned_tag,std::experimental::overaligned