Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bewuethr/stroustrup-ppp
/ data
Method
data
code_snippets/Chapter19/chapter.19.3.4.cpp:23–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
const T& operator[ ] (int n) const { return elem[n]; }
22
23
T* data() { return elem; } // conversion to T*
24
const T* data() const { return elem; }
25
26
int size() const { return N; }
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected