{"url":"https://faithandbrave.hateblo.jp/entry/20080215/1203065887","provider_name":"Hatena Blog","author_name":"faith_and_brave","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20080215%2F1203065887\" title=\" bind\u3092\u4f7f\u3063\u3066\u4e26\u3073\u66ff\u3048 - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","provider_url":"https://hatena.blog","published":"2008-02-15 17:58:07","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","image_url":null,"blog_url":"https://faithandbrave.hateblo.jp/","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","categories":["C++"],"title":" bind\u3092\u4f7f\u3063\u3066\u4e26\u3073\u66ff\u3048","height":"190","width":"100%","version":"1.0","description":"struct person { int age; string name; }; vector<person> v; sort(v.begin(), v.end(), bind(less<int>(), bind(&person::age, _1), bind(&person::age, _2))); \u30e1\u30f3\u30d0\u5909\u6570\u30dd\u30a4\u30f3\u30bf\u6e21\u305b\u308b\u3093\u3060\u30fb\u30fb\u30fb\u79c1\u306ebind\u3067\u306f\u6b8b\u5ff5\u306a\u304c\u3089\u3067\u304d\u307e\u305b\u3093"}