香港市民支援愛國民主運動聯合會 Hong Kong Alliance in Support of Patriotic Democratic Movements of China
標語
釋放民運人士; 平反八九民運; 追究屠城責任; 結束一黨專政; 建設民主中國
成立時間
1989年5月21日,29年前(1989-05-21)
類型
非政府組織 非牟利組織
地點
香港
服務
非牟利組織
重要人物
司徒華(創始人) 李卓人 何俊仁
網站
hka8964.wordpress.com
紀念「六四」20周年。
「六四」20周年紀念晚會。
香港市民支援愛國民主運動聯合會(普通話讀音帮助·信息、粵語讀音帮助·信息;英语:Hong Kong Alliance in Support of Patriotic Democratic Movements of China),簡稱支聯會或港支聯, 是香港的泛民主派政治組織,於1989年5月21日在香港支持當時中國学生運動的全球華人大遊行中成立。高峰期時,泛民主派有約一半的立法會議員均是身兼支聯會及民主党成員。
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.
...