base/numerics: Add #define to allow excluding ostream
Add a define to help make base/numerics suitable for use in constrained environments. BASE_NUMERICS_DISABLE_OSTREAM_OPERATORS removes a few uses of ostream. This is motivated by attempting to use base/numerics in the Fuchsia kernel. ostream is simply unavailable, but what's lost is fairly minor. This is part of a downstream CL from johngro@: https://fuchsia-review.googlesource.com/c/fuchsia/+/292396 Change-Id: I1d7a2651e50d8e62c143b048f253b1f4c32971cc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1669874Reviewed-by:Justin Schuh <jschuh@chromium.org> Commit-Queue: Scott Graham <scottmg@chromium.org> Cr-Commit-Position: refs/heads/master@{#671366}
Showing
Please register or sign in to comment