<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Isoparametric</author_name>
  <author_url>https://blog.hatena.ne.jp/Isoparametric/</author_url>
  <blog_title>神様なんて信じない僕らのために</blog_title>
  <blog_url>https://isoparametric.hatenablog.com/</blog_url>
  <categories>
    <anon>c/c++</anon>
  </categories>
  <description>会社でこれって間違いやすいよね、 結局どっちなの？ みたいな感じで訊かれたりしたので、 実例を交えてエントリしてみる。 例として演算子+=を持ち出す。 class Foo { public: Foo(int value) : value_(value) { } Foo&amp; operator +=(const Foo&amp; f) { value_ += f.value_; return *this; } int getValue() const { return value_; } private: int value_; }; というクラスがある。 +=演算子を定義してある。 Foo f(100);…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fisoparametric.hatenablog.com%2Fentry%2F20071027%2F1193461597&quot; title=&quot;演算子オーバーロード？　演算子オーバーライド？ - 神様なんて信じない僕らのために&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-10-27 14:06:37</published>
  <title>演算子オーバーロード？　演算子オーバーライド？</title>
  <type>rich</type>
  <url>https://isoparametric.hatenablog.com/entry/20071027/1193461597</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
