Implements part of P1614R2 "The Mothership has Landed"
Details
- Reviewers
ldionne Mordante philnik - Group Reviewers
Restricted Project - Commits
- rGb3ab3bece0bf: [libc++] Implement `operator<=>` for `filesystem::path`
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp | ||
---|---|---|
28 | clang-format proposed this change when posting the commit for review. Please let me know if you prefer me to undo it |
fix clang-format CI failure (I don't understand why it wants this indentation - but I don't care to fit it...)
libcxx/include/filesystem | ||
---|---|---|
165 | not sure where I should put them, if I change them to be friends. The path class is only forward-declared in the synopsis. |
libcxx/include/filesystem | ||
---|---|---|
165 | Path has its own synopsis hidden in http://eel.is/c++draft/fs.class.path.general#6 We could add that to the main synopsis. We've done that in other places too, but not in a consistent fashion. |
libcxx/include/filesystem | ||
---|---|---|
165 | I have added a synopsis for class path now. Please let me know if this is what you had in mind |
LGTM, thanks!
libcxx/include/filesystem | ||
---|---|---|
17–156 | We normally don't do this, but it's interesting to do this for those "hidden" synopsis. |
libcxx/include/filesystem | ||
---|---|---|
17–156 | is your comment an ask to remove this and follow the established way of not including this? |
libcxx/include/filesystem | ||
---|---|---|
17–156 | Sorry if I was unclear. I think it's useful and we might even consider doing that for other "hidden" synopsis too. That is sometimes useful during review. I noticed with ranges it's sometimes not easy to find where to look in the Standard. |
We normally don't do this, but it's interesting to do this for those "hidden" synopsis.
(I get the impression their number grows.)