commit | a6145c5806d0766c16256056f9a0023fe7c23c26 | [log] [tgz] |
---|---|---|
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | Sat Dec 26 01:39:03 2020 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Jan 25 12:27:27 2021 -0800 |
tree | 06b6b924184d20c9fb8f8139a5714973a0aa1cd6 | |
parent | 837a0c15dd0a3981f3d587f733d85281f6c66bf1 [diff] |
[libc++] Implement [P0769] "Add shift to algorithm" (shift_left, shift_right) I believe this is a complete implementation of std::shift_left and std::shift_right from http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0769r2.pdf Some test cases copied-with-modification from D60027. Differential Revision: https://reviews.llvm.org/D93819 GitOrigin-RevId: 3fbd3eaf28c1e6f2bb9519022611829dfe3b0464