Panzer
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
core
src
Panzer_UtilityAlgs.hpp
Go to the documentation of this file.
1
#ifndef __Panzer_UtilityAlgs_hpp__
2
#define __Panzer_UtilityAlgs_hpp__
3
4
#include <vector>
5
#include <functional>
6
7
namespace
panzer{
8
18
void
reorder
(std::vector<int> & order,std::function<
void
(
int
,
int
)> swapper);
19
20
}
21
22
#endif
panzer::reorder
void reorder(std::vector< int > &order, std::function< void(int, int)> swapper)
Using a functor, reorder an array using a order vector.
Definition:
Panzer_UtilityAlgs.cpp:5
Generated by
1.8.5