class WeakPtrFlag

Defined at line 22 of file ../../src/lib/fxl/memory/weak_ptr_internal.h

|WeakPtr

<T

>|s have a reference to a |WeakPtrFlag| to determine whether they

are valid (non-null) or not. We do not store a |T*| in this object since

there may also be |WeakPtr

<U

>|s to the same object, where |U| is a superclass

of |T|.

This class in not thread-safe, though references may be released on any

thread (allowing weak pointers to be destroyed/reset/reassigned on any

thread).

Public Methods

void WeakPtrFlag ()

Defined at line 12 of file ../../src/lib/fxl/memory/weak_ptr_internal.cc

void ~WeakPtrFlag ()

Defined at line 14 of file ../../src/lib/fxl/memory/weak_ptr_internal.cc

void Invalidate ()

Defined at line 19 of file ../../src/lib/fxl/memory/weak_ptr_internal.cc

bool is_valid ()

Defined at line 27 of file ../../src/lib/fxl/memory/weak_ptr_internal.h