[util.smartptr.weak.dest]

# 20 Memory management library [[mem]](./#mem)

## 20.3 Smart pointers [[smartptr]](smartptr#util.smartptr.weak.dest)

### 20.3.2 Shared-ownership pointers [[util.sharedptr]](util.sharedptr#util.smartptr.weak.dest)

#### 20.3.2.3 Class template weak_ptr [[util.smartptr.weak]](util.smartptr.weak#dest)

#### 20.3.2.3.3 Destructor [util.smartptr.weak.dest]

[ð](#lib:weak_ptr,destructor)

`constexpr ~weak_ptr();
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/memory.tex#L4977)

*Effects*: Destroys this weak_ptr object but has no
effect on the object its stored pointer points to[.](#1.sentence-1)
