Skip to content

Commit

Permalink
gmock-spec-builders: add support for non-moveable types.
Browse files Browse the repository at this point in the history
Do this by ripping out the "untyped perform action" machinery, which isn't
necessary: we can simply template the entry point on the result type, and use
RAII to avoid the need to special case void. This makes it easier to understand
the code and harder to introduce type-related undefined behavior, to boot.
PiperOrigin-RevId: 451493451
Change-Id: I225305f83164752ca92f2916721972eafba33168
  • Loading branch information
jacobsa authored and copybara-github committed May 27, 2022
1 parent 6cd3823 commit 9d21db9
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 242 deletions.
Loading

0 comments on commit 9d21db9

Please sign in to comment.