Stay organized with collections Save and categorize content based on your preferences.
Implements operator<< for all types, without any effect.
It is desirable to disable at compile-time tracing, debugging, and other low severity messages. The Google Cloud Platform C++ Libraries logging adaptors return an object of this class when the particular log-line is disabled at compile-time.
Operators operator<<(T)Generic do-nothing streaming operator.
Parameters Name Description
T
typename T
NullStream &
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["This webpage lists different versions of the `NullStream` class, spanning from version 2.10.1 to the latest release candidate, 2.37.0-rc."],["The `NullStream` class implements a generic do-nothing streaming operator (`operator\u003c\u003c`) for all types, essentially having no effect when used."],["The primary use of `NullStream` is within the Google Cloud Platform C++ Libraries, where it acts as a placeholder object when log lines are disabled at compile time, effectively disabling tracing, debugging, and low-severity messages."],["Each listed version number links to the corresponding documentation for the `NullStream` class in that specific version."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4