GUnit icon indicating copy to clipboard operation
GUnit copied to clipboard

Support for rvalue references

Open APokorny opened this issue 8 years ago • 0 comments

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<N>?

APokorny avatar Sep 11 '17 09:09 APokorny