Skip to content

return value as reference #113

Open
Open

Description

@yakra

Look for opportunities to call a function and get its result as a reference rather than a value.

See also: TravelMapping#270

Activity

  1. changed the title [-]return by reference[/-] [+]return value as reference[/+] on Dec 12, 2019
  2. yakra commented on Dec 12, 2019

    @yakra
    OwnerAuthor

    semi-related:
    unexamined/unimproved cases of a function receiving a variable by value, when reference may work:

    • DatacheckEntry ctor
    • travname as received by TravelerList ctor
    • double_quotes.cpp
    • lower.cpp
    • upper.cpp
  3. yakra commented on Jan 1, 2020

    @yakra
    OwnerAuthor

    rvalue references

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions