Tag Archives: EXC_BAD_ACCESS

Writing a marker interface in C++

Just figured this out and it caused me about 3 hours of pain, so I figured I’d post it in case I need to do it again. class Base { public: virtual ~Base() {}; }; class Derived : public Base … Continue reading

Posted in C++ | Tagged , , , | Leave a comment