Skip to content
New issue

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

[expr] Built-in operators shouldn't "return" things #1476

Closed
timsong-cpp opened this issue Feb 18, 2017 · 1 comment
Closed

[expr] Built-in operators shouldn't "return" things #1476

timsong-cpp opened this issue Feb 18, 2017 · 1 comment
Assignees

Comments

@timsong-cpp
Copy link
Contributor

[expr.new]/1:

If the entity is a non-array object, the new-expression returns a pointer to the object created. If it is an array, the new-expression returns a pointer to the initial element of the array.

[expr.log.or]/1:

It returns true if either of its operands is true, and false otherwise.

[expr.ass]/1:

All require a modifiable lvalue as their left operand and return an lvalue referring to the left operand.

@jensmaurer
Copy link
Member

Editorial committee: "The result is ..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants