<?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>今回やること コードのポインタ管理 smart pointerの導入 実験 まとめ コード 参考 他の記事 今回やること コードをポインタで管理 smart_pointerの導入 コードのポインタ管理 現状のプログラムではコード(Code)オブジェクトの生成と解放を実行中に多数行っています. メモリの生成と解放にはコスト(＝実行時間)がかかるので、ポインタで管理することで、その回数を削減しました. 本題ではないので省略. コード差分 $ valgrind --leak-check=full ./bin/mastermind 3 3 --test でメモリリークのテスト済み smart poin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finarizuuuushi.hatenablog.com%2Fentry%2F2021%2F07%2F10%2F210249&quot; title=&quot;master mind by c++; part10 smart pointer - 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-10 21:02:49</published>
  <title>master mind by c++; part10 smart pointer</title>
  <type>rich</type>
  <url>https://inarizuuuushi.hatenablog.com/entry/2021/07/10/210249</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
