cpp/memory/memory resource/do is equal

Compares for equality with.

Two s compare equal if and only if memory allocated from one can be deallocated from the other and vice versa.