<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osyo-manga</author_name>
  <author_url>https://blog.hatena.ne.jp/osyo-manga/</author_url>
  <blog_title>C++でゲームプログラミング</blog_title>
  <blog_url>https://osyo-manga.hatenadiary.org/</blog_url>
  <categories>
    <anon>C++03</anon>
    <anon>boost</anon>
  </categories>
  <description>できたよー。 以前、Boost.Ratio でつくったこれを使いました。 とりあえず、bounded だけですが、Boost.ConstrainedValue を変更することなく小数が扱えると思います。 関連：Boost.ConstrainedValueのレビュー結果 - Faith and Brave - C++で遊ぼう [ソース] #define BOOST_RATIO_EXTENSIONS #include &lt;boost/ratio/ratio.hpp&gt; #include &lt;boost/mpl/int.hpp&gt; #include &lt;boost/mpl/less_equal.hpp&gt; #i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20111123%2F1322042672&quot; title=&quot;Boost.ConstrainedValue で小数を扱う - C++でゲームプログラミング&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-11-23 19:04:32</published>
  <title>Boost.ConstrainedValue で小数を扱う</title>
  <type>rich</type>
  <url>https://osyo-manga.hatenadiary.org/entry/20111123/1322042672</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
