13 char* slot_p =
static_cast<char*
>(
b.buffer());
15 std::memcpy(slot_p + 0, &o,
sizeof(
OpCode));
16 std::memcpy(slot_p +
sizeof(
OpCode), &v,
sizeof(
void*));
24 char* slot_p =
static_cast<char*
>(
b.buffer());
25 std::memcpy(&opcode, slot_p + 0,
sizeof(
OpCode));
26 std::memcpy(&operand, slot_p +
sizeof(
OpCode),
sizeof(
void*));
static constexpr int buf_size
static constexpr int buf_depth
void produce(OpCode opcode, void *operand)
void consume(OpCode &opcode, void *&operand)