Subject: [Boost-bugs] [Boost C++ Libraries] #8548: Include "using random::chi_squared_distribution" in the boost namespace as it is done for normal_distribution
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-04 09:21:35
#8548: Include "using random::chi_squared_distribution" in the boost namespace as
it is done for normal_distribution
------------------------------------------------+---------------------------
Reporter: Igor Baltiyskiy <iosank@â¦> | Owner: no-maintainer
Type: Bugs | Status: new
Milestone: To Be Determined | Component: random
Version: Boost Development Trunk | Severity: Cosmetic
Keywords: consistency |
------------------------------------------------+---------------------------
Currently there's a minor inconsistency: one can write
{{{#!c++
#include <boost/random/normal_distribution.hpp>
// ...
normal_distribution<> nd;
}}}
because there's a `using random::normal_distribution;` statement in the
`boost` namespace. However, for chi squared, there's no such thing, so one
needs to add using-statement or qualification.
(I didn't look at other distributions, maybe they lack these things as
well.)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8548> 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:13 UTC