Commit 57a5f89e authored by Carlos Knippschild's avatar Carlos Knippschild Committed by Commit Bot

Minor documentation fix in base/numerics

Bug: 
Change-Id: I41728ba1b17d5020178f7adac7997cc2f0662dbc
Reviewed-on: https://chromium-review.googlesource.com/777035Reviewed-by: default avatarJustin Schuh <jschuh@chromium.org>
Commit-Queue: Justin Schuh <jschuh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517715}
parent 1b71954f
...@@ -64,7 +64,7 @@ represent the full range of the source type: ...@@ -64,7 +64,7 @@ represent the full range of the source type:
```cpp ```cpp
// Throw a compiler error if byte_value is changed to an out-of-range-type. // Throw a compiler error if byte_value is changed to an out-of-range-type.
int int_value = saturated_cast<int>(byte_value); int int_value = strict_cast<int>(byte_value);
``` ```
You can also enforce these compile-time restrictions on function parameters by You can also enforce these compile-time restrictions on function parameters by
......
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