Boost C++ Libraries: Ticket #2673: inversive_congruential validation https://svn.boost.org/trac10/ticket/2673 <p> Hi, </p> <p> In &lt;boost/random/inversive_congruential.hpp&gt; </p> <p> line74: bool validation(result_type x) const { return val == x; } </p> <p> The validation() of function member declare "static" will be better. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2673 Trac 1.4.3 rick68@… Fri, 23 Jan 2009 15:00:34 GMT attachment set https://svn.boost.org/trac10/ticket/2673 https://svn.boost.org/trac10/ticket/2673 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">inversive_congruential.hpp.diff</span> </li> </ul> <p> Patch </p> Ticket Steven Watanabe Tue, 03 Feb 2009 19:19:01 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2673#comment:1 https://svn.boost.org/trac10/ticket/2673#comment:1 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/50997" title="Make validation a static member function. Fixes #2673">[50997]</a>) Make validation a static member function. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2673" title="#2673: Patches: inversive_congruential validation (closed: fixed)">#2673</a> </p> Ticket