#include <shark/Core/utility/ZipPair.h>
#include <boost/operators.hpp>
#include <functional>
Go to the source code of this file.
|
template<class K , class V > |
void | shark::swap (KeyValuePair< K, V > &pair1, KeyValuePair< K, V > &pair2) |
| Swaps the contents of two instances of KeyValuePair. More...
|
|
template<class Key , class Value > |
KeyValuePair< Key, Value > | shark::makeKeyValuePair (Key const &key, Value const &value) |
| Creates a KeyValuePair. More...
|
|
template<class Iterator1 , class Iterator2 > |
KeyValueRange< Iterator1, Iterator2 > | shark::zipKeyValuePairs (Iterator1 begin1, Iterator1 end1, Iterator2 begin2, Iterator2 end2) |
| Zips two ranges together, interpreting the first range as Key which can be sorted. More...
|
|
template<class Range1 , class Range2 > |
KeyValueRange< typename boost::range_iterator< Range1 >::type, typename boost::range_iterator< Range2 >::type > | shark::zipKeyValuePairs (Range1 &range1, Range2 &range2) |
| Zips two ranges together, interpreting the first range as Key which can be sorted. More...
|
|