Because a multi-set does not need the storage of single-element objects.
You're considering storing anything in a multi-set, such as a string.
But it is not its intended use.
You may use whatever struct you want and compare it to a single element in the struct.
As an example:
struct PhoneBookEntry
{
std::string name;
...READ MORE
Jun 27, 2022
in C++
by
Damon
• 4,960 points
•
458 views