MCPcopy Create free account
hub / github.com/PlatformLab/NanoLog / push

Function push

runtime/LogTest.cc:2445–2450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2443
2444template<typename T>
2445static T*
2446push(char* (&in)) {
2447 T *t = reinterpret_cast<T*>(in);
2448 in += sizeof(T);
2449 return t;
2450}
2451
2452// Most of the logic is already extensively tested in the other encodeMsgs
2453// tests, so this will only test the new bits of code for cpp17

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected