Boost C++ Libraries: Ticket #12251: Add constexpr support to random number generators https://svn.boost.org/trac10/ticket/12251 <p> Since C++11 the Standard requires the min/max functions of a random number generator to be constexpr [26.5.1.3]. Annotating the min/max functions with BOOST_CONSTEXPR should be enough to fix this. </p> <p> Because of this defect using random number generators from boost::random with random number distributions from libc++ results in a compile time error. (Tested with libc++-3.7) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12251 Trac 1.4.3 Guillem Blanco <gblanco92@…> Fri, 03 Jun 2016 17:31:13 GMT <link>https://svn.boost.org/trac10/ticket/12251#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12251#comment:1</guid> <description> <p> I've submitted a pull-request here: <a class="ext-link" href="https://github.com/boostorg/random/pull/24"><span class="icon">​</span>https://github.com/boostorg/random/pull/24</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>