Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThePhD/sol2
/ my_index
Method
my_index
tests/run_time/source/basic.cpp:468–470 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
466
}
467
468
static double my_index(vector& v, int i) {
469
return v[i];
470
}
471
472
static void my_new_index(vector& v, int i, double x) {
473
v[i] = x;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected