Skip to content

Commit 0e15d26

Browse files
Automerge: [libc++][NFC] Comment cleanup for <type_traits> (#130422)
- Aligns all version comments to line 65. - Consistently uses `// since C++` instead of `// C++`, in lowercase as used in most version comments. - Consistently uses `class` to introduce type template parameters. - Consistently uses `inline constexpr` for variable templates. - Corrects the comment for `bool_constant` to `// since C++17` as it's a C++17 feature. - Changes the class-key of `result_of` to `struct`, which follows N4659 [depr.meta.types] and the actual usage in libc++. - Adds missed `// since C++17` for `is_(nothrow_)invocable(_r)`. - Moves the comments for `is_nothrow_convertible_v` to the part for variable templates. - Removes duplicated comments for `true_type` and `false_type`.
2 parents 1a1028a + 9e87caf commit 0e15d26

File tree

1 file changed

+180
-155
lines changed

1 file changed

+180
-155
lines changed

0 commit comments

Comments
 (0)