Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WheretIB/nullc
/ sum
Function
sum
tests/TestClosures.cpp:383–384 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
381
"class A\r\n\
382
{\r\n\
383
int x, y;\r\n\
384
auto sum(){ return auto(){ return this.x + y; }; }\r\n\
385
}\r\n\
386
auto a = new A;\r\n\
387
a.x = 4;\r\n\
Callers
nothing calls this directly
Calls
1
auto
Function · 0.70
Tested by
no test coverage detected