<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iww</author_name>
  <author_url>https://blog.hatena.ne.jp/iww/</author_url>
  <blog_title>揮発性のメモ２</blog_title>
  <blog_url>https://iww.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>#include &lt;iostream&gt; using namespace std; typedef struct { int a; int b; int getA(){ return a; } int getB(){ return b; } } hoge_t; int main() { hoge_t aa = {}; aa.a = 123; cout &lt;&lt; aa.getA() &lt;&lt; endl; // 123 cout &lt;&lt; aa.getB() &lt;&lt; endl; // 0 return 0; }</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20161006%2Fstruct&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>2016-10-06 00:00:00</published>
  <title> 構造体に関数を書く</title>
  <type>rich</type>
  <url>https://iww.hateblo.jp/entry/20161006/struct</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
