{"blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20091228%2F1262018820\" title=\" 2\u3064\u306e\u5024\u3092\u5165\u308c\u66ff\u3048\u308b - 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>","published":"2009-12-28 01:47:00","width":"100%","version":"1.0","image_url":null,"author_name":"faith_and_brave","provider_name":"Hatena Blog","type":"rich","provider_url":"https://hatena.blog","blog_url":"https://faithandbrave.hateblo.jp/","description":"#include <boost/assert.hpp> #include <boost/tuple/tuple.hpp> int main() { int a = 1; int b = 2; boost::tie(a, b) = boost::make_tuple(b, a); BOOST_ASSERT(a == 2); BOOST_ASSERT(b == 1); } \u5de6\u8fba\u3068\u53f3\u8fba\u3001\u4e21\u65b9\u3092tie\u306b\u3059\u308b\u3068\u3069\u3061\u3089\u30822\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u6ce8\u610f\u3002","title":" 2\u3064\u306e\u5024\u3092\u5165\u308c\u66ff\u3048\u308b","url":"https://faithandbrave.hateblo.jp/entry/20091228/1262018820","categories":["C++"],"author_url":"https://blog.hatena.ne.jp/faith_and_brave/","height":"190"}