// m_values is of type std::vector<std::pair<std::string,INIValue> >
std::find_if(this->m_values.begin(),this->m_values.end, [name](std::pair<std::string,INIValue> v)->bool { return v.first == name;});
下面是錯誤:我不明白爲什麼這不會編譯
error: no matching function for call to ‘find_if(std::vector<std::pair<std::basic_string<char>, INIValue> >::iterator, <unresolved overloaded function type>, INISection::value(const string&)::__lambda0)’
我缺少什麼?
'this-> m_values.end' – Blacktempel