<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bate</author_name>
  <author_url>https://blog.hatena.ne.jp/bate/</author_url>
  <blog_title>bate's blog</blog_title>
  <blog_url>https://bate.hatenadiary.jp/</blog_url>
  <categories>
    <anon>独り言</anon>
    <anon>code</anon>
  </categories>
  <description>乗算演算子を追加 Friction.hにある分数のテンプレートクラスに下記を追加。 TFriction&lt;T&gt; operator*( TFriction&lt;T&gt; t ) { this-&gt;Exec(); t.Exec(); TFriction&lt;T&gt; temp( t.GetNumerator()*this-&gt;m_numerator, // 分子 t.GetDenominator()*this-&gt;m_denominator ); // 分母 temp = temp.reduction(); return temp; } main.cpp // main.cpp #include &quot;Friction.h&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbate.hatenadiary.jp%2Fentry%2F20080709%2F1215592874&quot; title=&quot;operator* - bate&amp;#39;s blog&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>2008-07-09 17:41:14</published>
  <title>operator*</title>
  <type>rich</type>
  <url>https://bate.hatenadiary.jp/entry/20080709/1215592874</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
