{"blog_url":"https://osyo-manga.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20100915%2F1284505842\" title=\"\u5f85\u3061\u51e6\u7406 - C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","blog_title":"C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","published":"2010-09-15 08:10:42","url":"https://osyo-manga.hatenadiary.org/entry/20100915/1284505842","type":"rich","author_name":"osyo-manga","image_url":null,"title":"\u5f85\u3061\u51e6\u7406","version":"1.0","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/osyo-manga/","height":"190","provider_name":"Hatena Blog","description":"WINAPI \u306e Sleep() \u306b chrono::duration \u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u5358\u4f4d\u3067\u6e21\u3057\u305f\u304b\u3063\u305f\u306e\u3067\u30e9\u30c3\u30d7\u3057\u307e\u3057\u305f\u3002 \u3064\u3044\u3067\u306b\u30df\u30ea\u79d2\u672a\u6e80\u306a\u3089 while \u30eb\u30fc\u30d7\u3067\u5f85\u3061\u51e6\u7406\u3082\u5b9f\u88c5\u3002 #include <boost/chrono.hpp> #include <boost/chrono/timer.hpp> #include <boost/utility/enable_if.hpp> #include <Windows.h> #include \"sleep.hpp\" int main(){ using kmt_ex::sleep; namespace chrono = boost::chr\u2026","categories":["C++","boost"]}