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