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

Method ptr

src/include/common/static_vector.h:18–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 T& assumeInit() { return *ptr(); }
17 const T& assumeInit() const { return *ptr(); }
18 T* ptr() { return reinterpret_cast<T*>(&data); }
19 const T* ptr() const { return reinterpret_cast<const T*>(&data); }
20
21private:

Callers 3

push_backMethod · 0.80
beginMethod · 0.80
endMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected