[Boost-bugs] [Boost C++ Libraries] #7686: missing namespace in docs

Subject: [Boost-bugs] [Boost C++ Libraries] #7686: missing namespace in docs
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-13 07:47:16


#7686: missing namespace in docs
-------------------------------------------------------+--------------------
 Reporter: Akira Takahashi <faithandbrave@…> | Owner: no-maintainer
     Type: Support Requests | Status: new
Milestone: To Be Determined | Component: random
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
-------------------------------------------------------+--------------------
 boost::random::mt19937 doc says follow:
 {{{
 // In header: <boost/random/mersenne_twister.hpp>


 typedef mersenne_twister_engine< uint32_t, 32, 624, 397, 31, 0x9908b0df,
 11, 0xffffffff, 7, 0x9d2c5680, 15, 0xefc60000, 18, 1812433253 > mt19937;
 }}}
 I think shoule be:
 {{{
 // In header: <boost/random/mersenne_twister.hpp>

 namespace boost {
   namespace random {
     typedef mersenne_twister_engine< uint32_t, 32, 624, 397, 31,
 0x9908b0df, 11, 0xffffffff, 7, 0x9d2c5680, 15, 0xefc60000, 18, 1812433253
> mt19937;
   }

   using random::mt19937;
 }
 }}}
 http://www.boost.org/doc/libs/1_52_0/doc/html/boost/random/mt19937.html

 Other generators has same issue.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7686>
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:50:11 UTC