|
|
От: |
Vamp
|
|
| Дата: | 10.11.10 16:12 | ||
| Оценка: | |||
#include <iostream>
#include <vector>
using namespace std;
template<class Array, class Less>
void Sort(Array& arr, const Less& less) {}
struct SortType {
int Key;
};
bool Cmp(const SortType& a, const SortType& b)
{
return a.Key < b.Key;
}
int main()
{
vector<int> array;
Sort(array, Cmp);
}