[Boost-bugs] [Boost C++ Libraries] #1546: Method boost::random::uniform_int::operator()(engine, value) is missing

Subject: [Boost-bugs] [Boost C++ Libraries] #1546: Method boost::random::uniform_int::operator()(engine, value) is missing
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-28 16:16:41


#1546: Method boost::random::uniform_int::operator()(engine, value) is missing
-------------------------------------------------+--------------------------
 Reporter: Jos Hickson <jos.hickson_at_[hidden]> | Type: Bugs
   Status: new | Milestone: Boost 1.36.0
Component: None | Version: Boost 1.34.1
 Severity: Problem | Keywords:
-------------------------------------------------+--------------------------
 {{{boost::random::variate_generator::operator()(T value)}}} seems to offer
 the ability to use the variate_generator with {{{std::random_shuffle()}}}.
 However, it relies on the distribution used providing a method along the
 lines of:
 {{{
 template <EngineT, ValueT>
 ValueT operator()(EngineT, ValueT);
 }}}
 According to the [http://www.boost.org/libs/random/random-
 distributions.html Boost.Random documentation] this is provided by the
 {{{uniform_int}}} distribution but the actual implementation of
 {{{uniform_int}}} has no such method.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1546>
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:57 UTC