All pastes #492655 Raw Edit

C

public c v1 · immutable
·published 2007-05-17 10:21 UTC
rendered paste body
#include <stdint.h>#include <iostream>class Object1{    uint32_t m_refcount;    uint16_t m_typeid;    bool xx;};class Object2{    uint32_t m_refcount;    uint32_t m_type;    bool xx;};int main (int argc, char *argv []){    std::cout << "sizeof (Object1): " << sizeof (Object1) << std::endl;    std::cout << "sizeof (Object2): " << sizeof (Object2) << std::endl;}