<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>arvitos</author_name>
  <author_url>https://blog.hatena.ne.jp/arvitos/</author_url>
  <blog_title>すたんだーどっ☆あいおーっ！</blog_title>
  <blog_url>https://arvitos.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>これでググっても案外出てこない。 C++でこんな風に書きたいと思ってるんだろうけど不思議なもんで出てこない。 int[] ary = new int[10]; system.out.println(ary.length);//10 あいかわらずmelponさんのパクりだけど書いてみよう。 #include &lt;iostream&gt; //配列クラス //ary[index]で要素アクセス出来て //ary.lengthで長さが取得できればいい template&lt;class T&gt; class Array{ private: T* m_pAry; public: const int length; Ar…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Farvitos.hatenadiary.org%2Fentry%2F20090222%2F1235285685&quot; title=&quot;C++ 配列 長さ 取得 - すたんだーどっ☆あいおーっ！&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>2009-02-22 15:54:45</published>
  <title>C++ 配列 長さ 取得</title>
  <type>rich</type>
  <url>https://arvitos.hatenadiary.org/entry/20090222/1235285685</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
