<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>paveway</author_name>
  <author_url>https://blog.hatena.ne.jp/paveway/</author_url>
  <blog_title>プログラムを書こう！</blog_title>
  <blog_url>https://www.paveway.info/</blog_url>
  <categories>
    <anon>C++/CLI</anon>
  </categories>
  <description>この記事は2020年06月05日に投稿しました。 目次 はじめに C++/CLIで安全にキャストする おわりに リンク 1. はじめに こんにちは、iOSのエディタアプリPWEditorの開発者の二俣です。 今回は業務で使用しているC++/CLIで安全にキャストする方法についてです。 目次へ 2. C++/CLIで安全にキャストする C++/CLIで安全にキャストするには、safe_cast演算子を使用します。 Cスタイルのキャストも可能ですが、safe_cast演算子を使用した場合、キャストできないとInvalidCastExceptionがスローされます。 そのためキャストできない場合の対…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.paveway.info%2Fentry%2F2020%2F06%2F05%2Fcli_safe_cast&quot; title=&quot;C++/CLIで安全にキャストする - プログラムを書こう！&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/152787833/1526825363332444</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-06-05 05:25:58</published>
  <title>C++/CLIで安全にキャストする</title>
  <type>rich</type>
  <url>https://www.paveway.info/entry/2020/06/05/cli_safe_cast</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
