^Del Sordi, Adele, Parties of power as authoritarian institutions: The cases of Russia and Kazakhstan (PDF), Spanish Political Science Association (AECPA), [22 January 2012], (原始内容 (PDF)存档于2012年6月27日)
^哈萨克斯坦最大政党名称变更
^ 3.03.1Kazakhstan: Ruling Party Gets Even Bigger RadioFreeEurope/RadioLiberty
^ 4.04.1哈萨克斯坦国家概况(最近更新时间:2012年5月)
^President of Kazakhstan Nursultan Nazarbayev is the head of the Nur Otan party
^Information on Political Parties Participating on the Basis of Party Slates in Elections to Majilis of Parliament of the Republic of Kazakhstan
^哈萨克斯坦可能要出首位女总统
^Parties of Kazakh Leader, Daughter Merge Townhall
^Analysis: Kazakh premier takes over daughter's party 互联网档案馆的存檔,存档日期2007-09-29. Middle East Times
^"Pro-Nazarbaev Party Merges With President's Power Base"
^Regions Party to cooperate with ruling party in Kazakhstan, Kyiv Post (24 November 2011)
10
1
I have a function that searches a vector of iterators and returns the iterator if its names matches a string passed as an argument. koalaGraph::PVertex lookUpByName(std::string Name, std::vector<koalaGraph::PVertex>& Vertices) { for (size_t i = 0; i < Vertices.size(); i++) { if(Vertices[i]->info.name == Name) return Vertices[i]; } } My question is how can I implement this as a lambda, to use it in connection with std::find_if ? I'm trying this: std::vector<koalaGraph::PVertex> V; std::string Name; std::find_if(V.begin(), V.end(), [&Name]() {return Name == V->info.name;}) But it says that V an enclosing-function local variable cannot be referenced in a lambda body unless it is in the capture list.
...