#include <iostream>

class a
{
    char *p;
};
class b
{
    char &r;
    b(); //these are just so the example compiles
    b(const b &);
    b &operator=(const b &);
};

int main()
{
    std::cout << sizeof(a) << std::endl;
    std::cout << sizeof(b) << std::endl;
}