{"provider_url":"https://hatena.blog","description":"\u3053\u308c\u307e\u3067\u306b\u4f55\u5ea6\u3082std.bind\u3092\u5fa9\u6d3b\u3055\u305b\u3088\u3046\u3068\u3057\u3066\u304d\u3066\u305d\u306e\u5ea6\u306b\u5931\u6557\u3057\u3066\u304d\u305f\uff0e \u3051\u3069\uff0c\u3088\u3046\u3084\u304f\u7c21\u5358\u306a\u95a2\u6570\u306a\u3089bind\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3088\uff0e \u30d5\u30eb\u30b9\u30af\u30e9\u30c3\u30c1\uff01 import std.stdio; import stdex.bind; T[] removeIf(alias cond, T)(T[] arr) { T[] ret; foreach (v; arr) if (!cond(v)) ret ~= v; return ret; } void main() { int[] arr = [1,2,3,4,5,6,7,8,9]; auto less = (int i, int j){return \u2026","version":"1.0","width":"100%","type":"rich","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharu-s.hatenablog.com%2Fentry%2F20080707%2F1215419520\" title=\"stdex.bind - dmd 2.015 - ...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_url":"https://blog.hatena.ne.jp/haru-s/","published":"2008-07-07 17:32:00","categories":["D\u8a00\u8a9e"],"provider_name":"Hatena Blog","height":"190","author_name":"haru-s","url":"https://haru-s.hatenablog.com/entry/20080707/1215419520","title":"stdex.bind - dmd 2.015","blog_title":"...ing logging 4.0","blog_url":"https://haru-s.hatenablog.com/"}