Skip to content

[expr.static.cast]/12 specifies "undefined result" instead of undefined behaviour #72

Closed
@sdutoit

Description

@sdutoit

Currently says:

"If class B contains the original member, or is a base or derived class of the class containing the original member, the resulting pointer to member points to the original member. Otherwise, the result of the cast is undefined."

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions