[docs] ptr::eq
source does not mention smart-pointer comparison behavior.
#59214
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
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 text was updated successfully, but these errors were encountered: