We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in [stmt.return]/2 we have the following example
std::pair<std::string,int> f(const char* p, int x) { return {p,x}; }
It's not all that clear what this example is meant to demonstrate. Can we add some sort of an explanation?
The text was updated successfully, but these errors were encountered:
It looks like the example refers to the following parts of the preceding note: "can involve invocation of a constructor" and "if its type differs".
Maybe a comment like // invokes the constructor std::string::string would improve the example?
// invokes the constructor std::string::string
Sorry, something went wrong.
Editorial meeting: Example does not seem to be useful. Strike it.
jensmaurer
Successfully merging a pull request may close this issue.
in [stmt.return]/2 we have the following example
It's not all that clear what this example is meant to demonstrate. Can we add some sort of an explanation?
The text was updated successfully, but these errors were encountered: