[all-commits] [llvm/llvm-project] 1ec02e: [libc++] Make rotate a constexpr.
Zoe Carver via All-commits
all-commits at lists.llvm.org
Mon Sep 14 13:57:09 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1ec02efee9b1d01cde89f31ca9ba6a46b7662ac5
https://github.com/llvm/llvm-project/commit/1ec02efee9b1d01cde89f31ca9ba6a46b7662ac5
Author: zoecarver <z.zoelec2 at gmail.com>
Date: 2020-09-14 (Mon, 14 Sep 2020)
Changed paths:
M libcxx/include/algorithm
M libcxx/include/iterator
M libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp
M libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp
M libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate.pass.cpp
M libcxx/www/cxx2a_status.html
Log Message:
-----------
[libc++] Make rotate a constexpr.
This patch makes `std::rotate` a constexpr. In doing so, this patch also
updates the internal `__move` and `__move_backward` funtions to be
constexpr.
Reviewed By: ldionne
Differential Revision: https://reviews.llvm.org/D65721
More information about the All-commits
mailing list