The class is never defined. This was discovered while validating modules
in libc++.
Details
- Reviewers
EricWF philnik - Group Reviewers
Restricted Project - Commits
- rGd5193e34b81f: [NFC][libc++] Removes sliceExpr friend.
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Sorry, I meant to comment that this is likely a misspelling of __slice_expr. Though I don't know if it's needed, and the test coverage here is really poor. But I would rather change it to what the author likely intended it to be.
If we think there's no need for the friend declaration, then lets explain why we think it's unneeded in the commit message for archeology.
Because I suspect the addition of the friend declaration for __slice_expr without needing it points to a bit of unimplemented code.
But I don't think anybody want's to work on improving <valarray>?
As discussed on Discord I'll revert and reland with a better commit message.
But I don't think anybody want's to work on improving <valarray>?
When I read about valarray the first time it sounded very interesting. Maybe when C++ has SIMD support it might be interesting to see whether that can be used for valarray. (I have hopes SIMD will be available in C++26.)