Skip to content

Support for rvalue references #11

Open

Description

@APokorny

The original googlemock is pretty bad at supporting unique_ptr or rvalue references. Usually I went for the workaround outlined here: https://stackoverflow.com/questions/12088537/workaround-for-gmock-to-support-rvalue-reference
Now with GUnit/GMock how would I mock a method with && parameters and capture the value via utilities like SaveArg?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions