-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
accessing key by reference #1098
Copy link
Copy link
Closed
Labels
kind: enhancement/improvementsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Milestone
Metadata
Metadata
Assignees
Labels
kind: enhancement/improvementsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Is there any way to access
keyin object by reference? Currently(const_)iterator::key()returns string by value causing extra copy every time I need to access it.Is there any reason why that string gets returned by value?