{"author_name":"nekko1119","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekko1119.hatenablog.com%2Fentry%2F20121111%2F1352642977\" title=\"boost::assign - C++\u3068\u8272\u3005\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2012-11-11 23:09:37","categories":["boost","\u307e\u3068\u3081"],"height":"190","blog_url":"https://nekko1119.hatenablog.com/","blog_title":"C++\u3068\u8272\u3005","width":"100%","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich","version":"1.0","url":"https://nekko1119.hatenablog.com/entry/20121111/1352642977","title":"boost::assign","image_url":null,"author_url":"https://blog.hatena.ne.jp/nekko1119/","description":"\u30b3\u30f3\u30c6\u30ca\u3092\u521d\u671f\u5316\u3084\u4ee3\u5165\u3059\u308b\u969b\u3001push_back\u7b49\u3092\u4e26\u3079\u308b\u5fc5\u8981\u304c\u306a\u304f\u3001\u7c21\u5358\u306b\u66f8\u3051\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u30a4\u30c6\u30ec\u30fc\u30bf\u521d\u671f\u5316\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u30af\u30e9\u30b9\u306a\u3089\u4f7f\u3048\u307e\u3059\u3002\u30b5\u30f3\u30d7\u30eb #include <boost/assign.hpp> #include <vector> #include <list> #include <map> #include <string> using namespace std; int main() { using namespace boost::assign; //\u4ee3\u5165 { vector<int> v; v += 1, 2, 3, 4; list<int> l; l += 1, \u2026"}