* include/bits/stl_algo.h (random_shuffle): Only define for hosted
implementations.
From-SVN: r222542
+2015-04-28 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/stl_algo.h (random_shuffle): Only define for hosted
+ implementations.
+
2015-04-28 Jonathan Wakely <jwakely@redhat.com>
* Makefile.am (SUBDIRS): Move python to hosted_source.
std::__iterator_category(__result));
}
+#if _GLIBCXX_HOSTED
/**
* @brief Randomly shuffle the elements of a sequence.
* @ingroup mutating_algorithms
std::iter_swap(__i, __j);
}
}
+#endif
/**
* @brief Shuffle the elements of a sequence using a random number