Remove copy and copy assignment rather than have them as private declarations.
They are superfluous given the move and move assignment.
As a drive-by, also specialize std::hash without reopening namespace std.
Differential D118502
[libc++][test] Clean up libcxx/test/support/MoveOnly.h jloser on Jan 28 2022, 11:43 AM. Authored by
Details
Remove copy and copy assignment rather than have them as private declarations. As a drive-by, also specialize std::hash without reopening namespace std.
Diff Detail
Event Timeline
Comment Actions Remove copy and copy assignment rather than = delete them Comment Actions Adjust expected-error message in libcxx/test/std/containers/sequences/array/array.creation/to_array.fail.cpp which should fix CI Comment Actions Fix the expected-error message in to_array.fail.pass tests now that the MoveOnly copy constructor is actually implicitly deleted |
Just eliminate these; they're superfluous given lines 24–27.
But also, please re-upload the diff tagging it "libc++", because it doesn't look like the buildkite CI actually ran. It's just saying "Build 216170: arc lint + arc unit". https://reviews.llvm.org/harbormaster/build/216170/