Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/changkun/modern-cpp-tutorial
/ len_foo
Function
len_foo
code/2/2.2.cpp:12–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
#define LEN 10
11
12
constexpr int len_foo() {
13
return 5;
14
}
15
16
constexpr int fibonacci(const int n) {
17
return n == 1 || n == 2 ? 1 : fibonacci(n-1)+fibonacci(n-2);
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected