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

[lib] Use 'tm', not 'struct tm' #4483

Merged
merged 1 commit into from Feb 15, 2021
Merged

[lib] Use 'tm', not 'struct tm' #4483

merged 1 commit into from Feb 15, 2021

Conversation

jensmaurer
Copy link
Member

Using the elaborated-type-specifier implies that this type
is declared in namespace 'std', which might not be true.

Fixes #4338

Using the elaborated-type-specifier implies that this type
is declared in namespace 'std', which might not be true.
@jensmaurer
Copy link
Member Author

We have declarations of "struct tm" in header synopses <cwchar> and <ctime>, showing that "struct tm" is a member of namespace std. That's probably not exactly great, but also likely a LWG-level larger wording issue.

@tkoeppe tkoeppe merged commit 7620db7 into cplusplus:master Feb 15, 2021
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

Successfully merging this pull request may close these issues.

Consistent (and conventional) spelling of struct tm
2 participants