{"action":"opened","issue":{"url":"https://api.github.com/repos/nholthaus/units/issues/195","repository_url":"https://api.github.com/repos/nholthaus/units","labels_url":"https://api.github.com/repos/nholthaus/units/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/nholthaus/units/issues/195/comments","events_url":"https://api.github.com/repos/nholthaus/units/issues/195/events","html_url":"https://github.com/nholthaus/units/issues/195","id":369615270,"node_id":"MDU6SXNzdWUzNjk2MTUyNzA=","number":195,"title":"Unit container conversion without using namespace","user":{"login":"jhonathanzentech","id":43815851,"node_id":"MDQ6VXNlcjQzODE1ODUx","avatar_url":"https://avatars1.githubusercontent.com/u/43815851?v=4","gravatar_id":"","url":"https://api.github.com/users/jhonathanzentech","html_url":"https://github.com/jhonathanzentech","followers_url":"https://api.github.com/users/jhonathanzentech/followers","following_url":"https://api.github.com/users/jhonathanzentech/following{/other_user}","gists_url":"https://api.github.com/users/jhonathanzentech/gists{/gist_id}","starred_url":"https://api.github.com/users/jhonathanzentech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhonathanzentech/subscriptions","organizations_url":"https://api.github.com/users/jhonathanzentech/orgs","repos_url":"https://api.github.com/users/jhonathanzentech/repos","events_url":"https://api.github.com/users/jhonathanzentech/events{/privacy}","received_events_url":"https://api.github.com/users/jhonathanzentech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-12T16:07:16Z","updated_at":"2018-10-12T16:07:16Z","closed_at":null,"author_association":"NONE","body":"I am trying to perform an unit container conversion like this:\r\n\r\n```\r\nunits::length::meter_t a(1.0);\r\nunits::length::mile_t b = a;\r\nstd::cout << b << std::endl;\r\n```\r\n\r\nThis should print `0.000621371 mi` but instead it prints `1 m`.\r\n\r\nIf I do this:\r\n\r\n```\r\nusing namespace units;\r\nusing namespace units::length;\r\nmeter_t a(1.0);\r\nmile_t b = a;\r\nstd::cout << b << std::endl;\r\n```\r\n\r\nNow it does print `0.000621371 mi`. Is there any reason for this?"}}
{"actor":{"display_login":"jhonathanzentech"}}