<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fortran66</author_name>
  <author_url>https://blog.hatena.ne.jp/fortran66/</author_url>
  <blog_title>fortran66のブログ</blog_title>
  <blog_url>https://fortran66.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Fortran 2008 では、派生型の成分に自分自身を allocatable 属性で持てます。つまり再帰的に派生型を定義できます。再帰的定義は古典的なリスト構造によく使われます。Fortran 2003 までは、派生型の再帰的な成分は pointer 型に限られていました。pointer 型の成分に記憶領域の割り付けをする場合、解放時の処理を利用者側が自分でやらなければなりませんでした。記憶領域の解放漏れが起きないよう慎重に解放処理を用意する必要がありました。ところが allocatable 属性の場合は、記憶領域解放時の処理を、処理系側が引き受けてくれるので、利用者側の負担が大幅に減りま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffortran66.hatenablog.com%2Fentry%2F2017%2F04%2F16%2F015143&quot; title=&quot;派生型の再帰的割り付け成分 - fortran66のブログ&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-04-16 01:51:43</published>
  <title>派生型の再帰的割り付け成分</title>
  <type>rich</type>
  <url>https://fortran66.hatenablog.com/entry/2017/04/16/015143</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
