MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / data

Method data

Libraries/Containers/VirtualArray.h:104–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 [[nodiscard]] size_t size() const { return sizeElements; }
103
104 [[nodiscard]] T* data() { return static_cast<T*>(virtualMemory.data()); }
105 [[nodiscard]] const T* data() const { return static_cast<const T*>(virtualMemory.data); }
106
107 [[nodiscard]] operator Span<T>() { return {data(), sizeElements}; }

Callers 10

copyInsertMethod · 0.45
removeMethod · 0.45
forEachMethod · 0.45
GrowableBufferFunction · 0.45
StringSpanFunction · 0.45
viewMethod · 0.45
appendNullTerminatedToFunction · 0.45
GrowableBufferMethod · 0.45
~GrowableBufferMethod · 0.45
fixedGrowToMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected