|
|
От: |
Odi$$ey
|
http://malgarr.blogspot.com/ |
| Дата: | 14.03.03 05:10 | ||
| Оценка: | |||
ЮБ> cout << distance(vec.rbegin(), rit) << endl;
ЮБ> // или
ЮБ> cout << distance(vec.begin(), rit.base()) << endl;
ЮБ>inserted: 0 1 2 3 4 5
position of element 2 is: 3