Merge pull request #979 from fkaelberer/patch-4

Fix Fibonacci sequence
This commit is contained in:
Louis Brandy 2017-07-11 22:18:48 -04:00 committed by GitHub
commit 29dce84b98

View File

@ -10352,7 +10352,7 @@ The C++17 rules are somewhat less surprising:
So use `={...}` if you really want an `initializer_list<T>` So use `={...}` if you really want an `initializer_list<T>`
auto fib10 = {0, 1, 2, 3, 5, 8, 13, 21, 34, 55}; // fib10 is a list auto fib10 = {1, 1, 2, 3, 5, 8, 13, 21, 34, 55}; // fib10 is a list
##### Note ##### Note