Skip to content

Conversation

@vmichal
Copy link
Contributor

@vmichal vmichal commented Nov 21, 2025

Add additional requirements to chrono::is_clock_v to implement https://eel.is/c++draft/time.clock.req#tab:time.clock , do not change pre-C++20 _Is_clock_v.
Add complete tests.
Check "_Clock​::​rep = An arithmetic type or a class emulating an arithmetic type" is missing until #1909 is resolved.

Fixes #5827

@vmichal vmichal requested a review from a team as a code owner November 21, 2025 07:26
@github-project-automation github-project-automation bot moved this to Initial Review in STL Code Reviews Nov 21, 2025
@StephanTLavavej StephanTLavavej added enhancement Something can be improved chrono C++20 chrono labels Nov 21, 2025
@StephanTLavavej StephanTLavavej moved this from Initial Review to Ready To Merge in STL Code Reviews Nov 25, 2025
@StephanTLavavej StephanTLavavej moved this from Ready To Merge to Merging in STL Code Reviews Nov 25, 2025
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 3099153 into microsoft:main Nov 27, 2025
44 checks passed
@github-project-automation github-project-automation bot moved this from Merging to Done in STL Code Reviews Nov 27, 2025
@StephanTLavavej
Copy link
Member

🦋 🤖 🕥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chrono C++20 chrono enhancement Something can be improved

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

<chrono>: Consider performing stricter checks in is_clock_v

3 participants