F.4: Fixed a trivial style issue.

This commit is contained in:
Michael Park
2015-12-11 08:29:28 -05:00
parent ccacbd6d54
commit 3c33b1f925

View File

@@ -2047,7 +2047,7 @@ This is C++14. For C++11, use a recursive formulation of `fac()`.
`constexpr` does not guarantee compile-time evaluation; `constexpr` does not guarantee compile-time evaluation;
it just guarantees that the function can be evaluated at compile time for constant expression arguments if the programmer requires it or the compiler decides to do so to optimize. it just guarantees that the function can be evaluated at compile time for constant expression arguments if the programmer requires it or the compiler decides to do so to optimize.
constexpr int min(int x, int y) { return x < y ? x : y;} constexpr int min(int x, int y) { return x < y ? x : y; }
void test(int v) void test(int v)
{ {