We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2515b7 commit 748fa82Copy full SHA for 748fa82
README.md
@@ -53,7 +53,8 @@ using namespace beman;
53
* Generates fibonacci sequence using inplace_vector.
54
* See: https://en.wikipedia.org/wiki/Fibonacci_sequence
55
*/
56
-template <int Capacity> inplace_vector<int, Capacity> fibonacci_to(int num) {
+template <int Capacity>
57
+constexpr inplace_vector<int, Capacity> fibonacci_to(int num) {
58
assert(num < Capacity);
59
60
inplace_vector<int, Capacity> vec;
0 commit comments