2010-09-02から1日間の記事一覧
を書きました。 【例】 #include <string> #include <boost/multi_index_container.hpp> #include <boost/multi_index/ordered_index.hpp> #include <boost/multi_index/member.hpp> struct id_name { int id; std::string name; id_name(int id, const std::string& name) : id(id), name(name) {} }; using namespace boost::multi_…</boost/multi_index/member.hpp></boost/multi_index/ordered_index.hpp></boost/multi_index_container.hpp></string>