{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmurank.hatenadiary.org%2Fentry%2F20091003%2F1254575702\" title=\" boost::units \u3092\u5c11\u3057\u4f7f\u3044\u3084\u3059\u304f\u3059\u308b - murank\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://murank.hatenadiary.org/entry/20091003/1254575702","title":" boost::units \u3092\u5c11\u3057\u4f7f\u3044\u3084\u3059\u304f\u3059\u308b","published":"2009-10-03 22:15:02","author_name":"murank","blog_title":"murank\u306e\u65e5\u8a18","height":"190","provider_name":"Hatena Blog","image_url":null,"version":"1.0","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","C++","boost"],"type":"rich","width":"100%","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/murank/","blog_url":"https://murank.hatenadiary.org/","description":"boost::units\u3092\u4f7f\u3046\u5834\u5408\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308b\u3002 #include <boost/untis/systems/si.hpp> #include <boost/units/systems/prefixes.hpp> using namespace boost::units; quantity<si::time> x(1.0*si::second); // 1 s quantity<si::time> y(1.0*si::milli*si::meter); // 0.001 s \u3053\u306e\u66f8\u304d\u65b9\u306b\u306f\u3044\u304f\u3064\u304b\u6c17\u306b\u306a\u308b\u70b9\u304c\u3042\u308b\u3002 \u307e\u305a\u3001quantity\u3067\u4f7f\u3063\u3066\u308b\u5358\u4f4d\u304c\u5206\u304b\u308a\u3065\u3089\u3044\u3002 \u3053\u306e\u4f8b\u3060\u3068\u3001SI \u2026"}