Skip to content

Shallow vs deep ownership #23

Description

@cpetig

For passing as a reference std::vector<std::string> const&and std::vector<std::string_view> const& (and less so std::vector<std::string_view>) make sense.

Which one to choose? I tend towards the first.

This gets more prominent with resources!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions