Skip to content

accessing key by reference #1098

@crusader-mike

Description

@crusader-mike

Is there any way to access key in 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?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions