trsl logo

sort_iterator.hpp File Reference

#include <trsl/reorder_iterator.hpp>
#include <trsl/common.hpp>
#include <trsl/error_handling.hpp>
#include <functional>

Go to the source code of this file.

Classes

class  trsl::detail::at_index_comp< RandomIterator, Comparator >

Namespaces

namespace  trsl
 

Public namespace.


namespace  trsl::detail
 

Implementation details.


Functions

template<class ElementIterator , class ElementComparator >
reorder_iterator< ElementIterator > trsl::sort_iterator (ElementIterator first, ElementIterator last, ElementComparator comp, unsigned permutationSize)
 Constructs a reorder_iterator that will iterate through the first permutationSize elements of a sorted permutation of the population referenced by first and last.
template<class ElementIterator , class ElementComparator >
reorder_iterator< ElementIterator > trsl::sort_iterator (ElementIterator first, ElementIterator last, ElementComparator comp)
 Constructs a reorder_iterator that will iterate through a sorted permutation of the population referenced by first and last.
template<class ElementIterator >
reorder_iterator< ElementIterator > trsl::sort_iterator (ElementIterator first, ElementIterator last)
 Constructs a reorder_iterator that will iterate through a sorted permutation of the population referenced by first and last.

Detailed Description

Definition in file sort_iterator.hpp.

© Copyright 2007-2011 Renaud Detry.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt.)
Revised Wed Apr 6 16:30:07 2011.
SourceForge.net Logo