<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wraith13</author_name>
  <author_url>https://blog.hatena.ne.jp/wraith13/</author_url>
  <blog_title>TrickDiary</blog_title>
  <blog_url>https://wraith13.hatenadiary.org/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>ファクトリメソッドな部分のコードで... struct hoge { ... }; class hige :public hoge { ... }; ...てな具合で前提条件として hoge 構造体と hoge 構造体を継承した hige クラスがありますよと。で、この hige クラスに相当する部分がファクトリメソッドで生成するオブジェクトなんだけど... template void create_hoge(hoge **x, ...) { *x = malloc(sizeof(T)); new (*x) T(...); } void make_hoge(hoge **x, ...) { .…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwraith13.hatenadiary.org%2Fentry%2F20061212%2F1165931100&quot; title=&quot; 超久々にポインタで嵌った。 - TrickDiary&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>2006-12-12 22:45:00</published>
  <title> 超久々にポインタで嵌った。</title>
  <type>rich</type>
  <url>https://wraith13.hatenadiary.org/entry/20061212/1165931100</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
