Skip to content

Conversation

notadragon
Copy link
Contributor

No description provided.

source/ub.tex Outdated
px->~X();
int*p = px->i; // undefined behavior
int p = px->i; // undefined behavior
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: Maybe change this to int j since the name p might connote a pointer.

@hsutter hsutter added the ub-ifndr UB and IFNDR Annex label May 24, 2025
Copy link

@shafik shafik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for these fixes! LGTM

@jensmaurer jensmaurer merged commit 13307cb into cplusplus:ub-ifndr May 28, 2025
0 of 2 checks passed
jensmaurer pushed a commit that referenced this pull request Jul 26, 2025
jensmaurer pushed a commit that referenced this pull request Jul 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ub-ifndr UB and IFNDR Annex
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants