Alvin Seville
|
||||||
1 | ||||||
Ошибка no instance of function template "Swap" matches the argument list10.12.2018, 21:54. Показов 3854. Ответов 5
Метки нет Все метки)
(
0
|
|
10.12.2018, 21:54 | |
Ответы с готовыми решениями:
5
Ошибка компиляции "no instance of constructor 'std::thread::thread' matches the argument list" Ошибка компиляции "no instance of constructor "MemReader::MemReader" matches the argument list" Ошибка "E0309 more than one instance of constructor "Myclass::Myclass" matches the argument list"
|
![]() 17438 / 12830 / 3361
Регистрация: 17.09.2011
Сообщений: 21,108
|
|
11.12.2018, 15:50 | 3 |
Либо измените тип параметра
source на array<T> , либо измените метод Swap, чтобы он принимал не адреса переменных, а, например, список и индексы.Индексатор IList<T> возвращает не lvalue, так что передать по ссылке его результат не получится.
1
|
![]() 17438 / 12830 / 3361
Регистрация: 17.09.2011
Сообщений: 21,108
|
|
11.12.2018, 18:56 | 5 |
![]() Решение
1
|
Alvin Seville
|
|
11.12.2018, 19:12 [ТС] | 6 |
kolorotur, аналога такого кортежного присваивания нет?
0
|
11.12.2018, 19:12 | |
11.12.2018, 19:12 | |
Помогаю со студенческими работами здесь
6
Ошибки: 1) use of class template requires template argument list 2) 'T' : undeclared identifier 'MyQueue' : use of class template requires template argument list Ошибка "no instance of function template"
Ошибка: "function call missing argument list" Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |