<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>download_takeshi</author_name>
  <author_url>https://blog.hatena.ne.jp/download_takeshi/</author_url>
  <blog_title>download_takeshi’s diary</blog_title>
  <blog_url>https://download-takeshi.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>ここのところC++でコードを書いているんですが、やっぱりそいつをperlから使いたい。 ということでXSについてお勉強中です。ごく簡単なものなら書けるようになってきましたが「perlから渡したハッシュをC++側でstd::mapとして受け取りたい」といった特殊なケースではまってしまったのでメモっておきます。いろいろ悩みはしましたが、結論から言うと「hollyなblog」さんのところでまさにドンピシャな記事を書いてくれていたので、これを参考に頑張ってみました。 以下、サンプルコードと実践手順です。 C++コード hashを渡してstd::mapを返すというケースを想定しているので、以下のようなク…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdownload-takeshi.hatenablog.com%2Fentry%2F20100606%2F1275842598&quot; title=&quot; perlXSでSTLのstd::mapを使ってみる - download_takeshi’s diary&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>2010-06-06 01:43:18</published>
  <title> perlXSでSTLのstd::mapを使ってみる</title>
  <type>rich</type>
  <url>https://download-takeshi.hatenablog.com/entry/20100606/1275842598</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
