Код: Выделить всё
#include
#include
#include
using std::vector;
using std::min;
using std::cout;
using std::endl;
int func()
{
vectorvecI = {1,2,3,4,5};
auto errVal = 0;
auto iter = min(vecI.begin(),vecI.end(),errVal);
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79686103/what-is-this-compiler-error-trying-to-convey[/url]
Мобильная версия