<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inarizuuuushi</author_name>
  <author_url>https://blog.hatena.ne.jp/inarizuuuushi/</author_url>
  <blog_title>Sabrou-mal サブロウ丸</blog_title>
  <blog_url>https://inarizuuuushi.hatenablog.com/</blog_url>
  <categories>
    <anon>c++</anon>
    <anon>mastermind</anon>
  </categories>
  <description>今回やること template 実験 まとめ コード 他の記事 今回やること templateの導入, 及び color, hit-blow のデータ型の変更 template 関数の引数や返り値、またクラス属性の型を宣言時に可変にできる機能です. ピンの色とhit-blowのデータ型を今まではどちらもint型で定義していましたが、それをshortに変えてみます. 環境によっても異なりますが、shortの方がintよりも型のサイズが小さいため、メモリの節約と計算の高速化が期待されます. まず ./src/def.hの中身を変えます using ColorType = short; // ビンの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finarizuuuushi.hatenablog.com%2Fentry%2F2021%2F07%2F04%2F081407&quot; title=&quot;master mind by c++; part9 temaplate  - Sabrou-mal サブロウ丸&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>2021-07-04 08:14:07</published>
  <title>master mind by c++; part9 temaplate </title>
  <type>rich</type>
  <url>https://inarizuuuushi.hatenablog.com/entry/2021/07/04/081407</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
