for(int i = 0; i < 10; i++) bar.Add(String("item ") << i, [=] { PromptOK(AsString(i)); });
Report message to a moderator