|
|
От: | b.armaley | |
| Дата: | 08.02.13 10:21 | ||
| Оценка: | |||
X(i,j,c) X a(i,j,c);
Effects: Constructs an empty container and inserts elements from the range [i, j) into it; uses c as a comparison object.
std::set<int> m3(m1.cbegin(), m1.cend(), std::greater<int>);ошибка: expected primary-expression before «)» tokenstd::set<int> m3(m1.cbegin(), m1.cend());
std::set<int> m3(m1);
std::set<int> m3(std::greater<int>);
...