MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / BCBlock

Method BCBlock

src/BufferedConnection.actor.cpp:32–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 enum { DATA_SIZE = BC_BLOCK_SIZE - sizeof(Arena) };
31 uint8_t data[DATA_SIZE];
32 BCBlock() { static_assert(sizeof(BCBlock) == BC_BLOCK_SIZE, "BCBlock size mismatch"); }
33 // This is copied from NonCopyable, because MSVC doesn't implement properly "Empty Base Class Optimization"
34 // for more details take a look here :
35 // http://stackoverflow.com/questions/12701469/why-empty-base-class-optimization-is-not-working

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected