Ignore_result с функцией-членом (operator[])C++

Программы на C++. Форум разработчиков
Anonymous
Ignore_result с функцией-членом (operator[])

Сообщение Anonymous »


How do I call invoke_result correctly for a member function? Or specifically for an operator member function. I tried std::invoke_result to no success. What would be the correct syntax in this case?


Источник: https://stackoverflow.com/questions/569 ... r-function

Вернуться в «C++»