Rechercher une page de manuel
std_weak_ptr.3cxx
Langue: en
Version: 349207 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
std::weak_ptr -A smart pointer with weak semantics.
SYNOPSIS
Inherits __weak_ptr< _Tp >.
Public Member Functions
template<typename _Tp1 > weak_ptr (const weak_ptr< _Tp1 > &__r)
template<typename _Tp1 > weak_ptr (const shared_ptr< _Tp1 > &__r)
shared_ptr< _Tp > lock () const
template<typename _Tp1 > weak_ptr & operator= (const shared_ptr< _Tp1 > &__r)
template<typename _Tp1 > weak_ptr & operator= (const weak_ptr< _Tp1 > &__r)
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 321 of file shared_ptr.h.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre