{"image_url":null,"description":"#include <boost/static_assert.hpp> #include <boost/mpl/list_c.hpp> #include <boost/mpl/fold.hpp> #include <boost/mpl/multiplies.hpp> using namespace boost::mpl; template <class Seq> struct product { static const int value = fold<Seq, int_<1>, multiplies<_1, _2> >::type::value; }; int main() { typede\u2026","blog_url":"https://faithandbrave.hateblo.jp/","url":"https://faithandbrave.hateblo.jp/entry/20090724/1248422972","version":"1.0","author_name":"faith_and_brave","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","published":"2009-07-24 17:09:32","provider_name":"Hatena Blog","width":"100%","type":"rich","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%2F20090724%2F1248422972\" title=\" mpl::fold\u3067product\u30e1\u30bf\u95a2\u6570 - 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>","provider_url":"https://hatena.blog","height":"190","title":" mpl::fold\u3067product\u30e1\u30bf\u95a2\u6570","categories":["C++"]}