[libcxx-commits] [libcxx] [libc++][C++03] Remove code that is not used in C++03 (PR #134045)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Feb 13 22:51:53 PST 2026
================
@@ -111,14 +110,7 @@ random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last) {
template <class _RandomAccessIterator, class _RandomNumberGenerator>
_LIBCPP_HIDE_FROM_ABI _LIBCPP_DEPRECATED_IN_CXX14 void
-random_shuffle(_RandomAccessIterator __first,
- _RandomAccessIterator __last,
-# ifndef _LIBCPP_CXX03_LANG
- _RandomNumberGenerator&& __rand)
-# else
- _RandomNumberGenerator& __rand)
-# endif
-{
+random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last, _RandomNumberGenerator&& __rand) {
----------------
philnik777 wrote:
I don't think it was. It could have been a merge conflict and I picked the wrong thing, but I'm not sure.
https://github.com/llvm/llvm-project/pull/134045
More information about the libcxx-commits
mailing list