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

[class.union] inaccurate note in p2 #1624

Closed
timsong-cpp opened this issue May 2, 2017 · 0 comments
Closed

[class.union] inaccurate note in p2 #1624

timsong-cpp opened this issue May 2, 2017 · 0 comments
Assignees

Comments

@timsong-cpp
Copy link
Contributor

[class.union]/2:

A union object and its non-static data members are pointer-interconvertible~(\ref{basic.compound}, \ref{expr.static.cast}).

This is the case only for standard-layout unions.

jensmaurer added a commit to jensmaurer/draft that referenced this issue May 7, 2017
@jensmaurer jensmaurer self-assigned this May 7, 2017
jensmaurer added a commit to jensmaurer/draft that referenced this issue May 8, 2017
@jensmaurer jensmaurer added the cwg Issue must be reviewed by CWG. label Jul 15, 2017
@jensmaurer jensmaurer removed the cwg Issue must be reviewed by CWG. label Jul 15, 2017
zygoloid pushed a commit that referenced this issue Jul 15, 2017
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