C++17 deprecates std::raw_storage_iterator and C++20 removes it.
Implements part of:
- P0174R2 'Deprecating Vestigial Library Parts in C++17'
- P0619R4 'Reviewing Deprecated Facilities of C++17 for C++20'
Differential D101730
[libcxx] deprecates/removes `std::raw_storage_iterator` cjdb on May 2 2021, 1:45 PM. Authored by
Details
C++17 deprecates std::raw_storage_iterator and C++20 removes it. Implements part of:
Diff Detail
Event TimelineComment Actions LGTM % comments.
Comment Actions Looks like you need to git grep -i p0619 libcxx/ and update at least one of those comments.
Comment Actions We should also amend the <memory> synopsis with // deprecated in C++17, removed in C++20. LGTM with my and Arthur's suggestions. Note that if that were a more widely used type, I'd request that we add an escape hatch for users to get the type back in C++20. I hate those, but sometimes they are a necessity if we want to be able to ship the library to users. In this case I think it won't be necessary.
|
Insert a blank line between lines 28 and 29. (Or, remove line 55; but I think for a chunk of code this long, "insert" is the right answer.)