{"action":"created","issue":{"url":"https://api.github.com/repos/TRIQS/triqs/issues/257","labels_url":"https://api.github.com/repos/TRIQS/triqs/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/TRIQS/triqs/issues/257/comments","events_url":"https://api.github.com/repos/TRIQS/triqs/issues/257/events","html_url":"https://github.com/TRIQS/triqs/issues/257","id":105559112,"number":257,"title":"[gfs] operator[](std::string) for block_gf?","user":{"login":"tayral","id":1186890,"avatar_url":"https://avatars.githubusercontent.com/u/1186890?v=3","gravatar_id":"","url":"https://api.github.com/users/tayral","html_url":"https://github.com/tayral","followers_url":"https://api.github.com/users/tayral/followers","following_url":"https://api.github.com/users/tayral/following{/other_user}","gists_url":"https://api.github.com/users/tayral/gists{/gist_id}","starred_url":"https://api.github.com/users/tayral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tayral/subscriptions","organizations_url":"https://api.github.com/users/tayral/orgs","repos_url":"https://api.github.com/users/tayral/repos","events_url":"https://api.github.com/users/tayral/events{/privacy}","received_events_url":"https://api.github.com/users/tayral/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TRIQS/triqs/labels/4%20-%20To%20be%20discussed","name":"4 - To be discussed","color":"207de5"},{"url":"https://api.github.com/repos/TRIQS/triqs/labels/5%20-%20Feature%20Request","name":"5 - Feature Request","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"parcollet","id":1014945,"avatar_url":"https://avatars.githubusercontent.com/u/1014945?v=3","gravatar_id":"","url":"https://api.github.com/users/parcollet","html_url":"https://github.com/parcollet","followers_url":"https://api.github.com/users/parcollet/followers","following_url":"https://api.github.com/users/parcollet/following{/other_user}","gists_url":"https://api.github.com/users/parcollet/gists{/gist_id}","starred_url":"https://api.github.com/users/parcollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parcollet/subscriptions","organizations_url":"https://api.github.com/users/parcollet/orgs","repos_url":"https://api.github.com/users/parcollet/repos","events_url":"https://api.github.com/users/parcollet/events{/privacy}","received_events_url":"https://api.github.com/users/parcollet/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-09T09:31:16Z","updated_at":"2015-10-23T08:26:15Z","closed_at":null,"body":"Hi,\r\nAt present, for given a block_gf defined with a vector of strings, it is not possible, in c++, to make the following call:\r\n````\r\nblock_gf<imfreq> g({\"a\",\"b\"});\r\nauto g1 = g[\"a\"];\r\n````\r\nit is only possible to call g[0]... (unlike in python where strings can be used). It would be nice to have that in c++ as well."},"comment":{"url":"https://api.github.com/repos/TRIQS/triqs/issues/comments/150510687","html_url":"https://github.com/TRIQS/triqs/issues/257#issuecomment-150510687","issue_url":"https://api.github.com/repos/TRIQS/triqs/issues/257","id":150510687,"user":{"login":"tayral","id":1186890,"avatar_url":"https://avatars.githubusercontent.com/u/1186890?v=3","gravatar_id":"","url":"https://api.github.com/users/tayral","html_url":"https://github.com/tayral","followers_url":"https://api.github.com/users/tayral/followers","following_url":"https://api.github.com/users/tayral/following{/other_user}","gists_url":"https://api.github.com/users/tayral/gists{/gist_id}","starred_url":"https://api.github.com/users/tayral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tayral/subscriptions","organizations_url":"https://api.github.com/users/tayral/orgs","repos_url":"https://api.github.com/users/tayral/repos","events_url":"https://api.github.com/users/tayral/events{/privacy}","received_events_url":"https://api.github.com/users/tayral/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T08:26:15Z","updated_at":"2015-10-23T08:26:15Z","body":"https://github.com/tayral/triqs/blob/thomas_test/test/triqs/gfs/thomas/issue_257.cpp"}}