Question: main.cpp: In function void get _ opts ( int& , char& ) : main.cpp: 2 9 : 2 6 : error: numeric _ limits is
main.cpp: In function void getoptsint& char&:
main.cpp::: error: numericlimits is not a member of std
std::cin.ignorestd::numericlimits::max
;
~~~~~~~~~~~~~
main.cpp::: error: expected primaryexpression before token
std::cin.ignorestd::numericlimits::max
;
main.cpp::: error: no matching function for call to max
std::cin.ignorestd::numericlimits::max
;
In file included from usrincludecbitschartraits.h:
from usrincludecios:
from usrincludecostream:
from usrincludeciostream:
from main.cpp::
usrincludecbitsstlalgobase.h::: note: candidate: template constexpr const Tp& std::maxconst Tp& const Tp&
maxconst Tp& a const Tp& b
~~
usrincludecbitsstlalgobase.h::: note: template argument deductionsubstitution failed:
main.cpp::: note: candidate expects arguments, provided
std::cin.ignorestd::numericlimits::max
;
In file included from usrincludecbitschartraits.h:
from usrincludecios:
from usrincludecostream:
from usrincludeciostream:
from main.cpp::
usrincludecbitsstlalgobase.h::: note: candidate: template constexpr const Tp& std::maxconst Tp& const Tp&Compare
maxconst Tp& a const Tp& bCompare comp
~~
usrincludecbitsstlalgobase.h::: note: template argument deductionsubstitution failed:
main.cpp::: note: candidate expects arguments, provided
std::cin.ignorestd::numericlimits::max
;
make: makefile:: main.o Error
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
