Today I was astounded when I found out that passing NULL to std::string::operator=() results in a crash.
Qt's QString and QByteArray classes run null checks on practically everything.
Today I was astounded when I found out that passing NULL to std::string::operator=() results in a crash.
Qt's QString and QByteArray classes run null checks on practically everything.