{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/210","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/210/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/210/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/210/events","html_url":"https://github.com/chrsmith/bwapi/issues/210","id":58482013,"number":210,"title":"Overloaded operators <, == for Unit class","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-22T00:17:33Z","updated_at":"2015-02-22T00:17:33Z","closed_at":null,"body":"```\nWhat version of the product are you using? On what operating system?\n\nBWAPI 2.6.1\n\nPlease provide any additional information below.\n\nAfter searching I can find definitions for any overloaded operators for\nUnit (or UnitImpl).\n\nSpecifically, things like the < and == operators comparing the Unit ID\nwould be useful when working with STL containers.\n\n```\n\n-----\nOriginal issue reported on code.google.com by `chris.mo...@gmail.com` on 10 Apr 2010 at 2:38"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75404332","html_url":"https://github.com/chrsmith/bwapi/issues/210#issuecomment-75404332","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/210","id":75404332,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T00:17:33Z","updated_at":"2015-02-22T00:17:33Z","body":"```\n< and == operators would only be needed if you were creating and using actual\nUnitImpl objects, which is impossible in AI modules. You can only work with Unit\npointers, which already work with STL containers, i.e.:\n\nstd::map< BWAPI::Unit*, BWAPI::Position > unitTargetPositions;\n```\n\n-----\nOriginal comment by `lowerlo...@gmail.com` on 8 May 2010 at 7:20\n* Changed state: **WontFix**"}}