[Boost-bugs] [Boost C++ Libraries] #2673: inversive_congruential validation

Subject: [Boost-bugs] [Boost C++ Libraries] #2673: inversive_congruential validation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-01-23 14:57:28


#2673: inversive_congruential validation
--------------------------+-------------------------------------------------
 Reporter: anonymous | Owner: no-maintainer
     Type: Patches | Status: new
Milestone: Boost 1.38.0 | Component: random
  Version: Boost 1.37.0 | Severity: Optimization
 Keywords: |
--------------------------+-------------------------------------------------
 Hi,

 In <boost/random/inversive_congruential.hpp>

 line74: bool validation(result_type x) const { return val == x; }

 The validation() of function member declare "static" will be better.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2673>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC