<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sakusan_net</author_name>
  <author_url>https://blog.hatena.ne.jp/sakusan_net/</author_url>
  <blog_title>さくさんの日記</blog_title>
  <blog_url>https://sakusan-net.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>C++ではstaticの記述は（ファイルスコープ時には）無名名前空間(namespace)推奨とのこと・・・ なにやらundefined functionとかで怒られる。＜これは自分のミス class a{ public: void set(a* p); a* get(); private: //static a* a_ptr; &lt;&lt; これはファイルスコープではよくないらしい・・・ } namespace{ &lt;&lt;これがナウいらしい a* a_ptr; }; void a::set(a*p){ a_ptr = p; } a* a::get(){ return a_ptr; } こんな自分のクラス…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsakusan-net.hatenadiary.org%2Fentry%2F20071217%2F1197874247&quot; title=&quot;staticで怒られた・・・ - さくさんの日記&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>2007-12-17 15:50:47</published>
  <title>staticで怒られた・・・</title>
  <type>rich</type>
  <url>https://sakusan-net.hatenadiary.org/entry/20071217/1197874247</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
