MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getSpan

Function getSpan

src/include/storage/disk_array.h:260–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258
259template<typename U>
260inline std::span<std::byte> getSpan(U& val) {
261 return std::span(reinterpret_cast<std::byte*>(&val), sizeof(U));
262}
263
264template<typename U>
265class DiskArray {

Callers 4

updateMethod · 0.85
getMethod · 0.85
resizeMethod · 0.85
WriteIteratorClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected