Skip to content

Commit dee9c07

Browse files
TylerMSFTTylerMSFT
authored andcommitted
tech review
1 parent 3ce41bd commit dee9c07

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/standard-library/is-clock-struct.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ The type to test.
3737

3838
## Remarks
3939

40-
A clock has a `rep`, `period`, `duration`, `time_point`, and a `now()` function.
41-
For more details about the requirements to be a C++17 clock, see [Cpp17Clock requirements](https://eel.is/c++draft/tab:time.clock).
40+
A clock has a `rep`, `period`, `duration`, `time_point`, `is_steady`, and a `now()` function.
41+
42+
For more details about the requirements to be a C++17 clock, see [Cpp17Clock requirements](https://eel.is/c++draft/tab:time.clock).
43+
44+
The following code works because `is_clock`, derives from `Cpp17UnaryTypeTrait`, which derives from `integral_constant`. This is where `value_type`, which is a `bool`, and `type`, which is a `std::integral_constant<bool, value>` come from.
4245

4346
## Example
4447

0 commit comments

Comments
 (0)