Y
Hacker News
new
|
ask
|
show
|
jobs
by
fluoridation
677 days ago
Well, no, because (const char *)str is nonsense, if str is an std::string.
1 comments
twoodfin
676 days ago
Not to the debugger. If the first 8 bytes of the object referenced by str is a char* the debugger is perfectly capable of using it that way.
link