[stacktrace.entry.cmp]

# 19 Diagnostics library [[diagnostics]](./#diagnostics)

## 19.6 Stacktrace [[stacktrace]](stacktrace#entry.cmp)

### 19.6.3 Class stacktrace_entry [[stacktrace.entry]](stacktrace.entry#cmp)

#### 19.6.3.5 Comparison [stacktrace.entry.cmp]

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

`friend constexpr bool operator==(const stacktrace_entry& x, const stacktrace_entry& y) noexcept;
`

[1](#1)

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

*Returns*: true if and only if x and y represent
the same stacktrace entry or both x and y are empty[.](#1.sentence-1)
