<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fjnl</author_name>
  <author_url>https://blog.hatena.ne.jp/fjnl/</author_url>
  <blog_title>fjnlの生存記録のような何か</blog_title>
  <blog_url>https://fjnl.hatenadiary.org/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>C++ではOpenMPよりも、std algorithmが並列に動いた方が便利だよね。ということで作りました。元ネタはhttps://twitter.com/cpp_akira/status/16195866927です。 #ifdef _OPENMP inline size_t concurrency_omp() { size_t n; #pragma omp parallel { n = omp_get_num_threads(); } return n; } #endif inline size_t concurrency() { #ifdef _OPENMP static size_t …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffjnl.hatenadiary.org%2Fentry%2F20100615%2F1276611443&quot; title=&quot;std::asyncによる並列for_each - fjnlの生存記録のような何か&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-15 23:17:23</published>
  <title>std::asyncによる並列for_each</title>
  <type>rich</type>
  <url>https://fjnl.hatenadiary.org/entry/20100615/1276611443</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
