<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mstybird</author_name>
  <author_url>https://blog.hatena.ne.jp/mstybird/</author_url>
  <blog_title>msty開発メモ</blog_title>
  <blog_url>https://msty.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>STL</anon>
  </categories>
  <description>Zeromemoryマクロで少し面倒なことになったのでメモ。 ZeroMemoryマクロ、まあmemsetでもいいですが、指定した変数の中身を0クリアしてくれる使いやすいマクロです。 けど使い方を間違えると実行時エラーのもととなります。 以下のソースを動かしてみます。 #include&lt;vector&gt; #include&lt;iostream&gt; #include&lt;Windows.h&gt; using std::vector; using std::cout; using std::endl; struct Data1 { vector&lt;int32_t&gt; values; Data1(size_t size…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmsty.hatenablog.jp%2Fentry%2F2016%2F08%2F18%2F144934&quot; title=&quot;【C++】Zeromemoryは楽だが理解しないと危険 - msty開発メモ&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>2016-08-18 14:49:34</published>
  <title>【C++】Zeromemoryは楽だが理解しないと危険</title>
  <type>rich</type>
  <url>https://msty.hatenablog.jp/entry/2016/08/18/144934</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
