<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>scitexdev</author_name>
  <author_url>https://blog.hatena.ne.jp/scitexdev/</author_url>
  <blog_title>SCITEX GAMEDEV NOTE</blog_title>
  <blog_url>https://scitex.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>stlのコンテナのfindメンバ関数は、条件に合うものが見つからない場合にendイテレーターを返します。 template &lt;class M, class K&gt; bool containsKey(const M&amp; map, const K&amp; key){ return map.find(key) != map.end( } 使用例 if(containsKey(table, &quot;hoge&quot;)){ return table[&quot;hoge&quot;]; } return null;</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fscitex.hateblo.jp%2Fentry%2F2013%2F12%2F03%2F154529&quot; title=&quot;std::(unordered_)mapにキーが入っているかどうかを判定する - SCITEX GAMEDEV NOTE&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>2013-12-03 15:45:29</published>
  <title>std::(unordered_)mapにキーが入っているかどうかを判定する</title>
  <type>rich</type>
  <url>https://scitex.hateblo.jp/entry/2013/12/03/154529</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
