<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kubo39</author_name>
  <author_url>https://blog.hatena.ne.jp/kubo39/</author_url>
  <blog_title>kubo39's blog</blog_title>
  <blog_url>https://kubo39.hatenablog.com/</blog_url>
  <categories>
    <anon>D言語</anon>
  </categories>
  <description>safe functionの定義 より、 The following operations are not allowed in safe functions: * No casting from a pointer type to any type with pointers other than void*. void*を除く異なるポインタ型へのキャストは@safe関数内では禁止されている、という文言にみえる。 実際に例をあげると、範囲外となるようなメモリ領域への参照を含んでしまうようなポインタの変換操作は禁止されている。 // これはコンパイルエラー void foo() @safe {…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;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&quot; title=&quot;Is it safe in safe cast in safe functions? - kubo39&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-06-15 06:15:50</published>
  <title>Is it safe in safe cast in safe functions?</title>
  <type>rich</type>
  <url>https://kubo39.hatenablog.com/entry/2022/06/15/Is_it_safe_in_safe_cast_in_safe_functions%3F</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
