std::weak_ptr man page on RedHat
Printed from http://www.polarhome.com/service/man/?qf=std%3A%3Aweak_ptr&af=0&tf=2&of=RedHat
std::weak_ptr< _Tp >(3) std::weak_ptr< _Tp >(3)
NAME
std::weak_ptr< _Tp > -
SYNOPSIS
Inherits std::__weak_ptr< _Tp, _Lp >.
Public Types
typedef _Tp element_type
Public Member Functions
template<typename _Tp1 , typename = typename
std::enable_if<std::is_convertible<_Tp1*, _Tp*>::value>::type>
weak_ptr (const weak_ptr< _Tp1 > &__r) noexcept
template<typename _Tp1 , typename = typename
std::enable_if<std::is_convertible<_Tp1*, _Tp*>::value>::type>
weak_ptr (const shared_ptr< _Tp1 > &__r) noexcept
bool expired () const noexcept
shared_ptr< _Tp > lock () const noexcept
template<typename _Tp1 > weak_ptr & operator= (const weak_ptr< _Tp1 >
&__r) noexcept
template<typename _Tp1 > weak_ptr & operator= (const shared_ptr< _Tp1 >
&__r) noexcept
template<typename _Tp1 > bool owner_before (const __shared_ptr< _Tp1,
_Lp > &__rhs) const
template<typename _Tp1 > bool owner_before (const __weak_ptr< _Tp1, _Lp
> &__rhs) const
void reset () noexcept
void swap (__weak_ptr &__s) noexcept
long use_count () const noexcept
Detailed Description
template<typename _Tp>class std::weak_ptr< _Tp >
A smart pointer with weak semantics.
With forwarding constructors and assignment operators.
Definition at line 461 of file shared_ptr.h.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Wed Nov 6 2013 std::weak_ptr< _Tp >(3)
[top]
List of man pages available for RedHat
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|