{"description":"safe function\u306e\u5b9a\u7fa9 \u3088\u308a\u3001 The following operations are not allowed in safe functions: * No casting from a pointer type to any type with pointers other than void*. void*\u3092\u9664\u304f\u7570\u306a\u308b\u30dd\u30a4\u30f3\u30bf\u578b\u3078\u306e\u30ad\u30e3\u30b9\u30c8\u306f@safe\u95a2\u6570\u5185\u3067\u306f\u7981\u6b62\u3055\u308c\u3066\u3044\u308b\u3001\u3068\u3044\u3046\u6587\u8a00\u306b\u307f\u3048\u308b\u3002 \u5b9f\u969b\u306b\u4f8b\u3092\u3042\u3052\u308b\u3068\u3001\u7bc4\u56f2\u5916\u3068\u306a\u308b\u3088\u3046\u306a\u30e1\u30e2\u30ea\u9818\u57df\u3078\u306e\u53c2\u7167\u3092\u542b\u3093\u3067\u3057\u307e\u3046\u3088\u3046\u306a\u30dd\u30a4\u30f3\u30bf\u306e\u5909\u63db\u64cd\u4f5c\u306f\u7981\u6b62\u3055\u308c\u3066\u3044\u308b\u3002 // \u3053\u308c\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc void foo() @safe {\u2026","author_url":"https://blog.hatena.ne.jp/kubo39/","blog_title":"kubo39's blog","blog_url":"https://kubo39.hatenablog.com/","published":"2022-06-15 06:15:50","image_url":null,"url":"https://kubo39.hatenablog.com/entry/2022/06/15/Is_it_safe_in_safe_cast_in_safe_functions%3F","categories":["D\u8a00\u8a9e"],"title":"Is it safe in safe cast in safe functions?","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkubo39.hatenablog.com%2Fentry%2F2022%2F06%2F15%2FIs_it_safe_in_safe_cast_in_safe_functions%253F\" title=\"Is it safe in safe cast in safe functions? - kubo39&#39;s blog\" 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":"kubo39","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","version":"1.0","height":"190","width":"100%","type":"rich"}