Closed
Description
The documentation at the ptr::eq
source doesn't mention that smart pointers are compared in their totality, unlike pointer comparison which just compares the addresses. I found out about this behavior on this urlo question.
The documentation at the ptr::eq
source doesn't mention that smart pointers are compared in their totality, unlike pointer comparison which just compares the addresses. I found out about this behavior on this urlo question.