{"action":"created","issue":{"url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues/367","labels_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues/367/comments","events_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues/367/events","html_url":"https://github.com/isocpp/CppCoreGuidelines/issues/367","id":113947854,"number":367,"title":"Proposal: outlaw static initialization fiasco","user":{"login":"MichaelCook","id":3008060,"avatar_url":"https://avatars.githubusercontent.com/u/3008060?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelCook","html_url":"https://github.com/MichaelCook","followers_url":"https://api.github.com/users/MichaelCook/followers","following_url":"https://api.github.com/users/MichaelCook/following{/other_user}","gists_url":"https://api.github.com/users/MichaelCook/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelCook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelCook/subscriptions","organizations_url":"https://api.github.com/users/MichaelCook/orgs","repos_url":"https://api.github.com/users/MichaelCook/repos","events_url":"https://api.github.com/users/MichaelCook/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelCook/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/labels/open","name":"open","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"BjarneStroustrup","id":10933044,"avatar_url":"https://avatars.githubusercontent.com/u/10933044?v=3","gravatar_id":"","url":"https://api.github.com/users/BjarneStroustrup","html_url":"https://github.com/BjarneStroustrup","followers_url":"https://api.github.com/users/BjarneStroustrup/followers","following_url":"https://api.github.com/users/BjarneStroustrup/following{/other_user}","gists_url":"https://api.github.com/users/BjarneStroustrup/gists{/gist_id}","starred_url":"https://api.github.com/users/BjarneStroustrup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BjarneStroustrup/subscriptions","organizations_url":"https://api.github.com/users/BjarneStroustrup/orgs","repos_url":"https://api.github.com/users/BjarneStroustrup/repos","events_url":"https://api.github.com/users/BjarneStroustrup/events{/privacy}","received_events_url":"https://api.github.com/users/BjarneStroustrup/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-10-28T23:27:58Z","updated_at":"2015-11-03T22:33:07Z","closed_at":"2015-11-03T22:33:07Z","body":"Should we have a rule to disallow declaration of objects at file scope (i.e., non-function scope) whose constructors are non-trivial?\r\n\r\nSee also: https://isocpp.org/wiki/faq/ctors#static-init-order"},"comment":{"url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues/comments/153510360","html_url":"https://github.com/isocpp/CppCoreGuidelines/issues/367#issuecomment-153510360","issue_url":"https://api.github.com/repos/isocpp/CppCoreGuidelines/issues/367","id":153510360,"user":{"login":"BjarneStroustrup","id":10933044,"avatar_url":"https://avatars.githubusercontent.com/u/10933044?v=3","gravatar_id":"","url":"https://api.github.com/users/BjarneStroustrup","html_url":"https://github.com/BjarneStroustrup","followers_url":"https://api.github.com/users/BjarneStroustrup/followers","following_url":"https://api.github.com/users/BjarneStroustrup/following{/other_user}","gists_url":"https://api.github.com/users/BjarneStroustrup/gists{/gist_id}","starred_url":"https://api.github.com/users/BjarneStroustrup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BjarneStroustrup/subscriptions","organizations_url":"https://api.github.com/users/BjarneStroustrup/orgs","repos_url":"https://api.github.com/users/BjarneStroustrup/repos","events_url":"https://api.github.com/users/BjarneStroustrup/events{/privacy}","received_events_url":"https://api.github.com/users/BjarneStroustrup/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T22:33:07Z","updated_at":"2015-11-03T22:33:07Z","body":"Some things should be banned outright; this is a set of guidelines, rather than the standard. However, I will stick to \"avoid\" for now. I added:\r\n\r\nI.22: Avoid complex initialization of global objects"}}