<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>computeralgebra</author_name>
  <author_url>https://blog.hatena.ne.jp/computeralgebra/</author_url>
  <blog_title>非専門的シンギュラリティー研究所</blog_title>
  <blog_url>https://computeralgebra.hatenablog.com/</blog_url>
  <categories>
    <anon>式の計算電卓コマンド版</anon>
    <anon>ChatGPT</anon>
  </categories>
  <description>shared_ptr を使う場合と使わない場合を切り替える方法を ChatGPT で調べてみます。 C++ で shared_ptr を使う場合と使わない場合を切り替えることができるようにして、shared_ptr を使う場合は shared_from_this()、使わない場合は this に切り替えるようにすることはできますか と入力すると以下のような結果が返されました。 はい、C++ で `shared_ptr` を使うかどうかを切り替えられるようにし、`shared_ptr` を使う場合は `shared_from_this()` を、使わない場合は `this` を使う、という設計は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcomputeralgebra.hatenablog.com%2Fentry%2F2025%2F05%2F14%2F211121&quot; title=&quot;式の計算電卓コマンド版(4) - 非専門的シンギュラリティー研究所&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>https://m.media-amazon.com/images/I/51P1+304feL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-14 21:11:21</published>
  <title>式の計算電卓コマンド版(4)</title>
  <type>rich</type>
  <url>https://computeralgebra.hatenablog.com/entry/2025/05/14/211121</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
