{"id":2150,"date":"2011-08-22T10:29:15","date_gmt":"2011-08-22T08:29:15","guid":{"rendered":"http:\/\/djalil.chafai.net\/blog\/?p=2150"},"modified":"2011-09-03T13:46:08","modified_gmt":"2011-09-03T11:46:08","slug":"the-new-c-standard-and-its-extensible-random-number-facility","status":"publish","type":"post","link":"https:\/\/djalil.chafai.net\/blog\/2011\/08\/22\/the-new-c-standard-and-its-extensible-random-number-facility\/","title":{"rendered":"The new C++ standard and its extensible random number facility"},"content":{"rendered":"<p style=\"text-align: justify;\"><a href=\"\/blog\/wp-content\/uploads\/2011\/08\/cplusplus.jpg\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-2151\" title=\"C\/C++\" src=\"\/blog\/wp-content\/uploads\/2011\/08\/cplusplus.jpg\" alt=\"C\/C++\" width=\"315\" height=\"314\" srcset=\"https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2011\/08\/cplusplus.jpg 315w, https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2011\/08\/cplusplus-150x150.jpg 150w, https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2011\/08\/cplusplus-300x300.jpg 300w\" sizes=\"(max-width: 315px) 100vw, 315px\" \/><\/a>Recently, a new standard was adopted by the <a title=\"International Organization for Standardization\" href=\"http:\/\/en.wikipedia.org\/wiki\/International_Organization_for_Standardization\">ISO<\/a> for the C++ programming language, called <a title=\"New C++ standard\" href=\"http:\/\/en.wikipedia.org\/wiki\/C%2B%2B11\">C++11<\/a> and based on the C++0x draft. Among various new features, this\u00a0 new standard includes an <a title=\"extensible random number facility\" href=\"http:\/\/en.wikipedia.org\/wiki\/C++0x#Extensible_random_number_facility\">extensible random number facility<\/a> containing the <a title=\"A matrix recursive pseudorandom number generator developed in 1997\" href=\"http:\/\/en.wikipedia.org\/wiki\/Mersenne_twister\">Mersenne twister<\/a>. Some aspects are already implemented in recent versions of <a title=\"Implementation of the C++ STL for the g++ compiler of GCC\" href=\"http:\/\/gcc.gnu.org\/libstdc++\/\">libstdc++<\/a>, and\u00a0 can be tested using \ufeff\ufeff<em><\/em><\/p>\n<p style=\"text-align: center;\"><em>g++ -std=c++0x<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, a new standard was adopted by the ISO for the C++ programming language, called C++11 and based on the C++0x draft. Among various new&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/djalil.chafai.net\/blog\/2011\/08\/22\/the-new-c-standard-and-its-extensible-random-number-facility\/\">Continue reading<span class=\"screen-reader-text\">The new C++ standard and its extensible random number facility<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":24},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/2150"}],"collection":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/comments?post=2150"}],"version-history":[{"count":21,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/2150\/revisions"}],"predecessor-version":[{"id":2457,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/2150\/revisions\/2457"}],"wp:attachment":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/media?parent=2150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/categories?post=2150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/tags?post=2150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}