{"categories":["D\u8a00\u8a9e"],"title":"OddElements!(T) / EvenElements!(T)","author_url":"https://blog.hatena.ne.jp/haru-s/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharu-s.hatenablog.com%2Fentry%2F20100122%2F1264129437\" title=\"OddElements!(T) / EvenElements!(T) - ...ing logging 4.0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"haru-s","description":"import std.typetuple; template OddElements(T...) { static if (T.length == 0) { alias TypeTuple!() OddElements; } else static if (T.length <= 2) { alias TypeTuple!(T[0]) OddElements; } else { alias TypeTuple!(T[0], OddElements!(T[2..$])) OddElements; } } template EvenElements(T...) { static if (T.len\u2026","image_url":null,"height":"190","blog_url":"https://haru-s.hatenablog.com/","provider_name":"Hatena Blog","width":"100%","provider_url":"https://hatena.blog","version":"1.0","blog_title":"...ing logging 4.0","url":"https://haru-s.hatenablog.com/entry/20100122/1264129437","published":"2010-01-22 12:03:57"}