Boost C++ Libraries: Ticket #5794: seed_rng.hpp contains invalid forward declaration of random_device https://svn.boost.org/trac10/ticket/5794 <p> The following fails to compile with 1.47.0: </p> <p> #include &lt;boost/uuid/seed_rng.hpp&gt; #include &lt;boost/random/random_device.hpp&gt; </p> <p> It used to work with 1.46.1 (using nondet_random.hpp) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5794 Trac 1.4.3 anonymous Mon, 22 Aug 2011 05:46:22 GMT <link>https://svn.boost.org/trac10/ticket/5794#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5794#comment:1</guid> <description> <pre class="wiki">Patch attached: Index: seed_rng.hpp =================================================================== --- seed_rng.hpp (revision 57525) +++ seed_rng.hpp (revision 57526) @@ -56,8 +56,10 @@ #endif // forward declare random number generators -namespace boost { +namespace boost { namespace random { class random_device; +} +using random::random_device; } //namespace boost namespace boost { </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Andy Tompkins</dc:creator> <pubDate>Fri, 07 Oct 2011 00:18:07 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5794#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5794#comment:2</guid> <description> <p> Fixed in trunk. In a few days, after tests cycle, I'll commit to release. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andy Tompkins</dc:creator> <pubDate>Mon, 10 Oct 2011 00:09:01 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5794#comment:3 https://svn.boost.org/trac10/ticket/5794#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Checked into release. </p> Ticket anonymous Sat, 29 Oct 2011 16:12:45 GMT <link>https://svn.boost.org/trac10/ticket/5794#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5794#comment:4</guid> <description> <p> Thanks, confirmed to be working in 1.48 beta. </p> </description> <category>Ticket</category> </item> </channel> </rss>