{"blog_url":"https://faithandbrave.hateblo.jp/","title":"Boost.Multi-index \u30e9\u30f3\u30af\u4ed8\u304d\u30a4\u30f3\u30c7\u30c3\u30af\u30b9","published":"2015-07-22 14:46:46","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","provider_url":"https://hatena.blog","image_url":null,"version":"1.0","type":"rich","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","author_name":"faith_and_brave","url":"https://faithandbrave.hateblo.jp/entry/2015/07/22/144646","description":"Boost 1.59.0\u304b\u3089\u3001Boost.Multi-index\u306b\u3001ranked indicies\u3068\u3044\u3046\u306e\u304c\u5165\u308a\u307e\u3059\u3002 \u3053\u308c\u306f\u3001\u30ad\u30fc\u304c\u4f55\u756a\u76ee\u306b\u5927\u304d\u3044\u304b\u3092\u5bfe\u6570\u6642\u9593\u3067\u53d6\u5f97\u3067\u304d\u308b\u3001\u9023\u60f3\u914d\u5217\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3067\u3059\u3002 \u30a4\u30e1\u30fc\u30b8\u3068\u3057\u3066\u306f\u3001map\u306b\u5bfe\u3057\u3066it = m.find(key)\u3092\u3057\u3066\u5f97\u305f\u30a4\u30c6\u30ec\u30fc\u30bf\u306b\u3001distance(m.begin(), it)\u3068\u3057\u3066\u30a4\u30c6\u30ec\u30fc\u30bf\u306e\u4f4d\u7f6e\u3092\u6c42\u3081\u308b\u306e\u304c\u3001\u5bb9\u6613\u306b\u306a\u308b\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u3002 #include <iostream> #include <boost/multi_index_container.hpp> #include <boost/multi_index/ranked_i\u2026","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F2015%2F07%2F22%2F144646\" title=\"Boost.Multi-index \u30e9\u30f3\u30af\u4ed8\u304d\u30a4\u30f3\u30c7\u30c3\u30af\u30b9 - 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>","categories":["C++"],"height":"190","provider_name":"Hatena Blog"}