#include <string> int main(int argc, const char *argv[]) { std::string nullstr(nullptr, 4); return 0; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 15130 | zachwhaley | Add C++ code to see if std::string will throw an exception if given NULL as a char pointer. |