Test: dangling_cstr.cpp dangling_cstr.cpp:2:16: error: 'string' in namespace 'std' does not name a type 2 | const std::string& formatMessage(const std::string& msg) { | ^~~~~~ dangling_cstr.cpp:1:1: note: 'std::string' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | // Store formatted message in class member or return string