#include <gtest.h>
Public Types | |
typedef T | element_type |
Public Member Functions | |
T * | get () const |
linked_ptr (linked_ptr const &ptr) | |
template<typename U > | |
linked_ptr (linked_ptr< U > const &ptr) | |
linked_ptr (T *ptr=NULL) | |
template<typename U > | |
bool | operator!= (linked_ptr< U > const &ptr) const |
bool | operator!= (T *p) const |
T & | operator* () const |
T * | operator-> () const |
linked_ptr & | operator= (linked_ptr const &ptr) |
template<typename U > | |
linked_ptr & | operator= (linked_ptr< U > const &ptr) |
template<typename U > | |
bool | operator== (linked_ptr< U > const &ptr) const |
bool | operator== (T *p) const |
void | reset (T *ptr=NULL) |
~linked_ptr () | |
Private Member Functions | |
void | capture (T *ptr) |
template<typename U > | |
void | copy (linked_ptr< U > const *ptr) |
void | depart () |
Private Attributes | |
linked_ptr_internal | link_ |
T * | value_ |
Friends | |
template<typename U > | |
class | linked_ptr |
typedef T testing::internal::linked_ptr< T >::element_type |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |