Commit a1f71dd5 by Abseil Team Committed by vslashg

Googletest export

Remove badly formatted suggestion in gmock cheat sheet. PiperOrigin-RevId: 277060475
parent a8b1a66c
...@@ -614,19 +614,6 @@ composite action - trying to do so will result in a run-time error. ...@@ -614,19 +614,6 @@ composite action - trying to do so will result in a run-time error.
#### Defining Actions #### Defining Actions
<table border="1" cellspacing="0" cellpadding="1">
<tr>
<td>`struct SumAction {` <br>
&emsp;`template <typename T>` <br>
&emsp;`T operator()(T x, Ty) { return x + y; }` <br>
`};`
</td>
<td> Defines a generic functor that can be used as an action summing its
arguments. </td> </tr>
<tr>
</tr>
</table>
<!-- mdformat off(no multiline tables) --> <!-- mdformat off(no multiline tables) -->
| | | | | |
| :--------------------------------- | :-------------------------------------- | | :--------------------------------- | :-------------------------------------- |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment