Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4515: [math] regression test failure on GCC 4.5 in c++0x mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-09-02 10:50:36
#4515: [math] regression test failure on GCC 4.5 in c++0x mode
----------------------------------------------------------+-----------------
Reporter: Richard Webb <richard.webb@â¦> | Owner: johnmaddock
Type: Patches | Status: new
Milestone: Boost 1.44.0 | Component: math
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
----------------------------------------------------------+-----------------
Comment (by pbristow):
Your fix is fine, and may be best for some applications, but we feel it
reads verbosely.
So we have decided to recommend a different way in our examples.
We recommend *NOT* "using namespace anything;" std, boost::math ...
but to qualify each distribution used after the
#include <boost/math/my_distribution>
like
"using boost::math::my_distribution;"
(and "using std::cout; ..." if you wish - worthwhile clutter reduction if
there are lots of calls to cout, as is common in cpp source files, but
calls are less common in .hpp include files.)
This can be done globally or locally in source .cpp files, but should be
only locally in .hpp include files.
All our examples will now follow this recommendation.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4515#comment:1> 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:04 UTC