<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fa11enprince</author_name>
  <author_url>https://blog.hatena.ne.jp/fa11enprince/</author_url>
  <blog_title>Gobble up pudding</blog_title>
  <blog_url>https://gup.monster/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>C++で演算子のオーバーロードを使ってたとえばa[5]の配列で a[6]とかやると、a[0]を指すようにする謎配列を作りました。 PythonとかPerlの配列に似てるような感じのものですね。単にオーバーロードの練習をしたかっただけという…… ソースコード #include &lt;iostream&gt; #include &lt;iomanip&gt; template &lt;typename T&gt; class Custom1DArray { public: Custom1DArray(int size) :size_(size) { arr_ = new T[size]; } // 代入演算子 Custom1DAr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgup.monster%2Fentry%2F2015%2F02%2F11%2F070418&quot; title=&quot;誰得？？配列の範囲外アクセスが起きないぐるぐる回る配列を作りました。 - Gobble up pudding&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>https://cdn-ak.f.st-hatena.com/images/fotolife/f/fa11enprince/20200701/20200701021433.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-02-11 07:04:18</published>
  <title>誰得？？配列の範囲外アクセスが起きないぐるぐる回る配列を作りました。</title>
  <type>rich</type>
  <url>https://gup.monster/entry/2015/02/11/070418</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
