{"image_url":null,"width":"100%","blog_url":"https://haru-s.hatenablog.com/","title":"scope\u304c\u306a\u304f\u306a\u308b\u3089\u3057\u3044\u306e\u3067","version":"1.0","blog_title":"...ing logging 4.0","categories":["D\u8a00\u8a9e"],"author_url":"https://blog.hatena.ne.jp/haru-s/","height":"190","description":"\u8272\u3005\u304a\u8a71\u3057\u307e\u3057\u305f\u304c\u3082\u3046\u81ea\u5206\u7528\u306b\u3053\u308c\u3067\u3044\u3044\u3084\u3068\u601d\u3063\u305f\uff0e import std.stdio; struct AutoDeleted(T) { private T t; public this(Args...)(Args args) { t = new T(args); } public ~this() { delete t; t = null; } private @disable this(this){} public alias t this; } class A { int v; this(int i) { v = i; } ~this() { writeln(\"dest\"); } int \u2026","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharu-s.hatenablog.com%2Fentry%2F20101025%2F1288021579\" title=\"scope\u304c\u306a\u304f\u306a\u308b\u3089\u3057\u3044\u306e\u3067 - ...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>","published":"2010-10-25 00:46:19","url":"https://haru-s.hatenablog.com/entry/20101025/1288021579","provider_name":"Hatena Blog","author_name":"haru-s","type":"rich"}