Skip to content

generated quickstarts shoudl use const& when iterating through lists #16394

Description

@scotthart

Instead of for (auto e : ListFoo()) use for (auto const& e : ListFoo()).

Metadata

Metadata

Assignees

No one assigned

    Labels

    cpp: generatorIssues related to the C++ micro-generatortype: cleanupAn internal cleanup or hygiene concern.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions