Skip to content

Conversation

@vmichal
Copy link

@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
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

Status: Initial Review

Development

Successfully merging this pull request may close these issues.

<chrono>: Consider performing stricter checks in is_clock_v

3 participants