|
|
От: |
Bell
|
|
| Дата: | 29.03.06 09:17 | ||
| Оценка: |
2 (1)
|
||
namespace bb = boost;
sort(
arr.begin(), arr.end(),
bb::bind(greater<float>(),
bb::bind(&CVector::y, bb::bind(&CUnitPos::coords, _1)),
bb::bind(&CVector::y, bb::bind(&CUnitPos::coords, _2))
)
);