[Boost-bugs] [Boost C++ Libraries] #1539: Missing semi-colon in random library quitck start example

Subject: [Boost-bugs] [Boost C++ Libraries] #1539: Missing semi-colon in random library quitck start example
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-25 13:54:26


#1539: Missing semi-colon in random library quitck start example
------------------------------------------+---------------------------------
 Reporter: mloskot <mateusz_at_[hidden]> | Owner: matias
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Documentation
  Version: release 1.34.0 | Severity: Problem
 Keywords: |
------------------------------------------+---------------------------------
 On the Boost Random Number Library page:
 http://www.boost.org/libs/random/index.html there is following example
 {{{
 For a very quick start, here's an example:

   boost::mt19937 rng; // produces randomness out of thin
 air
                                       // see pseudo-random number
 generators
   boost::uniform_int<> six(1,6) // distribution that maps to 1..6
                                       // see random number distributions
   boost::variate_generator<boost::mt19937&, boost::uniform_int<> >
            die(rng, six); // glues randomness with mapping
   int x = die(); // simulate rolling a die
 }}}

 There is semi-colon missing at the end of the line ''boost::uniform_int<>
 six(1,6)''.

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