콘텐츠로 이동
Search

Boost:Unordered

Example

#include <boost/unordered_map.hpp>
// ...
typedef boost::unordered_map<std::string, int> map;
map x;
x["one"] = 1;
x["two"] = 2;
x["three"] = 3;
assert(x.at("one") == 1);
assert(x.find("missing") == x.end());

Favorite site

lastmod 2014-09-22created 2014-09-22 sitemap