<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>N3924 Discouraging rand() in C++14, v2 C++14では、std::rand()とstd::random_shuffle()が非推奨(deprecated)になります。 std::rand()は昔から問題があると指摘されていて(多くの実装で線形合同法が使われていたり、RAND_MAXが小さかったり)、明確にこの関数の使用を禁止する分野やプロジェクトも多かったので、非推奨になります。std::rand()の代わりに&lt;random&gt;ヘッダの乱数生成器と分布を使いましょう。 std::random_shuffle()はstd::rand()に依存したアルゴリズムな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F2014%2F02%2F18%2F142057&quot; title=&quot;C++14 randとrandom_shuffleが非推奨に - Faith and Brave - C++で遊ぼう&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>2014-02-18 14:20:57</published>
  <title>C++14 randとrandom_shuffleが非推奨に</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/2014/02/18/142057</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
