#include <string> int main() { std::string(false); }
Standard input is empty
Standard output is empty
terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!