Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ES.23: change example code to better match the rule
The example suggests that `int z = gsl::narrow_cast<int>(7.9);;` is OK. The rule says "Use `=` only when you are sure that there can be no narrowing conversions.", which matches, but is also says "For built-in arithmetic types, use `=` only with `auto`.", and this is not respected here. So replace the one line with both possibilities suggested by the rule.
- Loading branch information