<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinya_game_app</author_name>
  <author_url>https://blog.hatena.ne.jp/shinya_game_app/</author_url>
  <blog_title>Flat Leon Works</blog_title>
  <blog_url>https://flat-leon.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>技術</anon>
  </categories>
  <description>constメンバ関数 constメンバ関数のメリット constメンバ関数の使いどころ constメンバ関数内でもメンバ変数を変更したい場合 constメンバ関数の注意点 constメンバ関数のオーバーロード constメンバ関数を使うかどうかでソースコード全部に影響がでる constメンバ関数 メンバ関数につけるconstとは何か。これです。 class A { public: int m_Value; void Hoge( void ) const // ←このconstです { } }; メンバ関数の右側にconstをつけると、そのメンバ関数内ではメンバ変数の変更ができなくなります。この…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fflat-leon.hatenablog.com%2Fentry%2Fcpp_const_member_function&quot; title=&quot;【C++】メンバ関数には必要に応じてconstをつけよう - Flat Leon Works&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>2016-03-15 14:57:47</published>
  <title>【C++】メンバ関数には必要に応じてconstをつけよう</title>
  <type>rich</type>
  <url>https://flat-leon.hatenablog.com/entry/cpp_const_member_function</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
