0
xutility의 C++에서 문제가되는이표준 : 발견은 내가처럼 보이는 기능이 내 프로그램에서
bool InstalledProgram::IsProgInList(String^ ProgramName, list<InstalledProgram> ListCheck) {
if (find(ListCheck.begin(), ListCheck.end(), ProgramName) != ListCheck.end()) {
return true;
}
else {
return false;
}
}
내가
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xutility(3045) : see reference to function template instantiation '_InIt std::_Find<_InIt,_Ty>(_InIt,_InIt,const _Ty &,std::false_type)' being compiled
with
[
_InIt=std::_List_unchecked_iterator<std::_List_val<std::_List_simple_types<InstalledProgram>>>,
_Ty=System::String^
]
를 얻을 전체를 디버그로 이동
내 실제 코드 파일에 대해서는 아무 것도 말해주지 않지만이 파일은 찾기 전용 공간이므로 여기에 있어야합니다. 나는 운이 좋으면이 문제를 해결하려고 애를 썼다. 누구든지 문제를 볼 수 있습니까? 나는 ProgramName
이 String^ const &_Val
인 것으로 알고 있지만 그 의미와 방법이 무엇인지 이해하지 못한다는 것을 알고 있습니다.