Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/covscript/covscript
/ back
Function
back
sources/instance/type_ext.cpp:212–217 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
210
}
211
212
var back(const array &arr)
213
{
214
if (arr.empty())
215
throw lang_error(
"Call back() on empty array."
);
216
return arr.back();
217
}
218
219
// Iterators
220
array::iterator begin(array &arr)
Callers
1
pop_back
Function · 0.85
Calls
2
lang_error
Class · 0.85
empty
Method · 0.45
Tested by
no test coverage detected