D103357 added some new concepts. Since the header <concepts> has moved
all its concepts to a separate header these new concepts feel out of
place. Move them to the appropriate header.
Details
Details
- Reviewers
• Quuxplusone ldionne - Group Reviewers
Restricted Project - Commits
- rG163792113400: [libc++][NFC] Move concepts to a subheader.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/include/__concepts/arithmetic.h | ||
---|---|---|
43–44 | __libcpp_floating_point is completely unused, as is __libcpp_is_floating_point. I believe you should just remove those. | |
libcxx/include/type_traits | ||
791–792 | This comment seems no longer useful. Just remove lines 792-794. |
__libcpp_floating_point is completely unused, as is __libcpp_is_floating_point. I believe you should just remove those.
Anyone who wants to know whether a type is float/double/long-double should just use the standard std::is_floating_point trait or std::floating_point concept. We have no reason to provide a separate version of our own.