<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>gcc</anon>
    <anon>Clang</anon>
    <anon>MSVC</anon>
  </categories>
  <description>C++標準ライブラリで定義されるグローバルオブジェクトstd::cout等の宣言と定義についてメモ。GCC/libstdc++およびClang/libcxxライブラリ実装では、宣言型(std::ostream)と実体定義の型(char[])を意図的に変えている。型の不一致は厳密にはC++仕様違反*1だが、標準ヘッダ&lt;iostream&gt;提供グローバルオブジェクトの生存期間要件を満たすためのHACKと考えられる。たぶん。C++03 27.3/p2より引用（下線部は強調）。 Mixing operations on corresponding wide- and narrow-character s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20210911%2Fp1&quot; title=&quot;std::coutの実体はどこ？ - yohhoyの日記&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-09-11 00:00:00</published>
  <title>std::coutの実体はどこ？</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20210911/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
