Function bubble_sort

Summary

#include <include/EASTL/sort.h>

(1) template <typename ForwardIterator, typename StrictWeakOrdering>
    void bubble_sort(ForwardIterator first, ForwardIterator last, StrictWeakOrdering compare)

(2) template <typename ForwardIterator>
    void bubble_sort(ForwardIterator first, ForwardIterator last)

Function overload

Synopsis

#include <include/EASTL/sort.h>

template <typename ForwardIterator, typename StrictWeakOrdering>
void bubble_sort(ForwardIterator first, ForwardIterator last, StrictWeakOrdering compare)

Description

No description yet.

Mentioned in

Source

Lines 1864-1870 in include/EASTL/sort.h.

template <typename ForwardIterator, typename StrictWeakOrdering>
inline void bubble_sort(ForwardIterator first, ForwardIterator last, StrictWeakOrdering compare)
{
    typedef typename eastl::iterator_traits<ForwardIterator>::iterator_category IC;
    eastl::Internal::bubble_sort_impl<ForwardIterator, StrictWeakOrdering>(first, last, compare, IC());
}

Synopsis

#include <include/EASTL/sort.h>

template <typename ForwardIterator>
void bubble_sort(ForwardIterator first, ForwardIterator last)

Description

No description yet.

Mentioned in

Source

Lines 1872-1879 in include/EASTL/sort.h.

template <typename ForwardIterator>
inline void bubble_sort(ForwardIterator first, ForwardIterator last)
{
    typedef eastl::less<typename eastl::iterator_traits<ForwardIterator>::value_type> Less;
    typedef typename eastl::iterator_traits<ForwardIterator>::iterator_category IC;
    eastl::Internal::bubble_sort_impl<ForwardIterator, Less>(first, last, Less(), IC());
}





Add Discussion as Guest

Log in