#include <iterator>
#include <utility>
Go to the source code of this file.
|
template<typename order_iterator , typename value_iterator > |
void | flecsi::util::reorder (const order_iterator order_begin, const order_iterator order_end, const value_iterator v) |
| Reorders an array in place. More...
|
|
template<typename order_iterator , typename value_iterator > |
void | flecsi::util::reorder_destructive (const order_iterator order_begin, const order_iterator order_end, const value_iterator v) |
| Reorders an array in place. More...
|
|
◆ reorder()
template<typename order_iterator , typename value_iterator >
void flecsi::util::reorder |
( |
const order_iterator |
order_begin, |
|
|
const order_iterator |
order_end, |
|
|
const value_iterator |
v |
|
) |
| |
Reorders an array in place.
- Parameters
-
[in] | order_begin | The begin iterator for the order array |
[in] | order_end | The end iterator for the order array |
[in,out] | v | The begin iterator for the value array |
◆ reorder_destructive()
template<typename order_iterator , typename value_iterator >
void flecsi::util::reorder_destructive |
( |
const order_iterator |
order_begin, |
|
|
const order_iterator |
order_end, |
|
|
const value_iterator |
v |
|
) |
| |
Reorders an array in place.
- Parameters
-
[in,out] | order_begin | The begin iterator for the order array |
[in,out] | order_end | The end iterator for the order array |
[in,out] | v | The begin iterator for the value array |