Question d’entretien chez Deliveroo

Why does std::exception take a char* rather than std::string argument