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

Requirement in [class.union]/2 probably should use "shall" #514

Closed
hubert-reinterpretcast opened this issue Jun 24, 2015 · 2 comments
Closed

Comments

@hubert-reinterpretcast
Copy link
Contributor

In N4527 subclause 9.5 [class.union] paragraph 2:
A union can have member functions (including constructors and destructors), but not virtual functions.

it may be more appropriate for the "but not" to be changed to:
"but it shall not have".

@burblebee
Copy link
Contributor

Fixed in commit 9035285.
On Wed, Jun 24, 2015 at 10:49:23AM -0700, hubert-reinterpretcast wrote:

In N4527 subclause 9.5 [class.union] paragraph 2:
A union can have member functions (including constructors and destructors), but not virtual functions.

it may be more appropriate for the "but not" to be changed to:
"but it shall not have".


Reply to this email directly or view it on GitHub:
#514

@hubert-reinterpretcast
Copy link
Contributor Author

Looks good. Thanks.

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