libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
bogo_sort.hpp File Reference
#include "config.h"
#include <algorithm>
Include dependency graph for bogo_sort.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  jmmcg
 Link with -lrt to include these functions.
 
namespace  jmmcg::LIBJMMCG_VER_NAMESPACE
 

Functions

template<class Iter , class Compare >
void FORCE_INLINE jmmcg::LIBJMMCG_VER_NAMESPACE::bogo_sort (Iter first, Iter last, Compare comp)
 An implementation of the bogo-sort[1] algorithm, in STL-style. More...