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

<chrono> formatting: More cleanups #1857

Merged
merged 3 commits into from
Apr 18, 2021

Conversation

StephanTLavavej
Copy link
Member

  • Rearrange tests to follow Standard order.
    • No other changes.
  • Move _Chrono_formatter into namespace chrono.
    • No changes other than (greatly reduced!) qualification and formatting.
    • _Fill_tm_formatter is still directly within std, as it's the base class for std::formatter.
  • Rename _Chrono_specs to _Chrono_spec.
    • Drop "with literal chars" from a comment; this reflected our earlier, incorrect understanding.
    • This also renames _Custom_write()'s parameter from _Specs to _Spec, avoiding shadowing a data member.

No changes other than (greatly reduced!) qualification and formatting.

_Fill_tm_formatter is still directly within std,
as it's the base class for std::formatter.
Drop "with literal chars" from a comment; this reflected our earlier,
incorrect understanding.

This also renames _Custom_write()'s parameter from _Specs to _Spec,
avoiding shadowing a data member.
@StephanTLavavej StephanTLavavej added cxx20 C++20 feature chrono C++20 chrono labels Apr 18, 2021
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner April 18, 2021 11:45
@StephanTLavavej StephanTLavavej merged commit 1f874eb into microsoft:chronat2 Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chrono C++20 chrono cxx20 C++20 feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant