Example (compiles and runs):
#include <string>
#include <iostream>
std::string f(){
return std::string("abc");
};
int main(int, char **)
{
std::cout<<f()<<std::endl;
return 0;
}
The return type for f()
shown in the symbol bar tooltip and the editing window tooltip (when you type f(
) only shows the std
not std::string
.
—
Reply to this email directly or view it on GitHub.