<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>methane</author_name>
  <author_url>https://blog.hatena.ne.jp/methane/</author_url>
  <blog_title>methaneのブログ</blog_title>
  <blog_url>https://methane.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>5/29の、equal_range()の型縛りの件は、完全にうそでした。 comp(*it, val) と comp(val, *it) が両方通って、&lt;と同じ性質(a&lt;b かつ b&lt;c なら a&lt;c とか)を満たすようなcompを渡せば、普通にequal_range()つかえます。STLのアルゴリズムはちゃんと汎用的に作られていました。 参考：http://www.sgi.com/tech/stl/StrictWeakOrdering.htmlGenericsは、型がtemplate化されているので、型が満たすべき要件についてしっかり調べて使わないと、こういった思い込みによる勘違いが発生して…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmethane.hatenablog.jp%2Fentry%2F20070529%2F1180406404&quot; title=&quot;STLの設計者は偉い - methaneのブログ&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>2007-05-29 11:40:04</published>
  <title>STLの設計者は偉い</title>
  <type>rich</type>
  <url>https://methane.hatenablog.jp/entry/20070529/1180406404</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
