[mem.res.eq]

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

## 20.5 Memory resources [[mem.res]](mem.res#eq)

### 20.5.2 Class memory_resource [[mem.res.class]](mem.res.class#mem.res.eq)

#### 20.5.2.4 Equality [mem.res.eq]

[ð](#lib:operator==,memory_resource)

`bool operator==(const memory_resource& a, const memory_resource& b) noexcept;
`

[1](#1)

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

*Returns*: &a == &b || a.is_equal(b)[.](#1.sentence-1)
