Skip to content

Commit 6395013

Browse files
authored
Merge pull request #13 from danieljames/remove-random-shuffle-support-when-appropriate
Only support std::random_shuffle when available
2 parents 4fc4454 + 8c0410f commit 6395013

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/boost/lambda/algorithm.hpp

+3
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,8 @@ struct rotate_copy {
684684

685685
// random_shuffle ---------------------------------
686686

687+
#ifndef BOOST_NO_CXX98_RANDOM_SHUFFLE
688+
687689
struct random_shuffle {
688690

689691
template <class Args>
@@ -703,6 +705,7 @@ struct random_shuffle {
703705

704706
};
705707

708+
#endif
706709

707710
// partition ---------------------------------
708711

0 commit comments

Comments
 (0)