---
title: operator==
framework: driverkit
role: symbol
role_heading: Function Template
path: driverkit/libkern/operator==-15jrb
---

# operator==

## Declaration

```occ
template <typename T, typename P, typename U, typename = detail::detail::WhenComparable<T * *, U * *>> bool operator==(U * *a, const bounded_ptr<T, P> & b);
```
