You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HelloWorld:4:7: error: no member named 'substring' in 'std::basic_string<char>'; did you mean 'substr'?
s.substring(0);
^~~~~~~~~
substr
/usr/include/c++/4.2.1/bits/basic_string.h:1921:7: note: 'substr' declared here
substr(size_type __pos = 0, size_type __n = npos) const
^
1 error generated.
This should be parsed.
The text was updated successfully, but these errors were encountered:
Here is a minimal example:
This produces the following error:
This should be parsed.
The text was updated successfully, but these errors were encountered: