<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>purple-apple</author_name>
  <author_url>https://blog.hatena.ne.jp/purple-apple/</author_url>
  <blog_title>なまもの備忘録</blog_title>
  <blog_url>https://purple-apple.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>C++でよく変更する予定のない変数の型の前にconstを付けるが、あれは唯の目印のようなものではなく、const ホニャララという新しい型を宣言している感覚に近いっぽい。 このconstの仕様はC言語時代からの負の遺産で大分ややこしいものになっているため、ここに少し整理しておくことにする。 double型を例にとって整理しよう。 double x;//一般的なdouble型の宣言 double* x;//double型のポインタの宣言 const double x;//double型で、xの値を変更することはできない const double* x;//値を変更することのできないdouble型…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpurple-apple.hatenadiary.jp%2Fentry%2F2017%2F02%2F05%2F202907&quot; title=&quot;C++のconst指定子とポインタのややこしい話 - なまもの備忘録&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>2017-02-05 20:29:07</published>
  <title>C++のconst指定子とポインタのややこしい話</title>
  <type>rich</type>
  <url>https://purple-apple.hatenadiary.jp/entry/2017/02/05/202907</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
