All supported compilers have supported =delete as an extension in C++03 mode for many years at this point.
Details
Details
- Reviewers
ldionne Mordante - Group Reviewers
Restricted Project - Commits
- rGd7d7060127b7: Eliminate _LIBCPP_EQUAL_DELETE in favor of `=delete`.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I didn't immediately see anything related to =delete in the tests. They may have been dealt with already, I guess.
For the record: I do see a similar macro _LIBCPP_DEFAULT in <__config>, but it is not as mechanical to remove, because its semantics are "Make things defaulted (possibly trivial) in C++11, non-defaulted (non-trivial) in C++03." And it is used only in atomic, std::allocator (where ISTR we have needed discussions to avoid exactly that kind of ABI break), and error_category (where it is guarded by some dylib-related stuff that is beyond me). So I am not planning a followup patch to remove _LIBCPP_DEFAULT, myself.