class Buggy : public Base
{
private:
Object mymember;
public:
Buggy() : Base(&mymember)
{
}
};
Today, a change I made to a base class constructor exposed a bug like this in a derived class. Why is the above constructor just begging for a SIGSEGV?
No comments:
Post a Comment