GUnit
GUnit copied to clipboard
Support for rvalue references
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>?