Googletest export
Internal change, documentation only. PiperOrigin-RevId: 262554386
This commit is contained in:
parent
90a443f9c2
commit
de38f63807
@ -543,8 +543,6 @@ to do a better job at printing your particular type than to dump the bytes. To
|
|||||||
do that, define `<<` for your type:
|
do that, define `<<` for your type:
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
// Streams are allowed only for logging. Don't include this for
|
|
||||||
// any other purpose.
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
namespace foo {
|
namespace foo {
|
||||||
@ -573,8 +571,6 @@ doesn't do what you want (and you cannot change it). If so, you can instead
|
|||||||
define a `PrintTo()` function like this:
|
define a `PrintTo()` function like this:
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
// Streams are allowed only for logging. Don't include this for
|
|
||||||
// any other purpose.
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
namespace foo {
|
namespace foo {
|
||||||
|
Loading…
Reference in New Issue
Block a user