Subject: Re: [boost] numeric directory/namespace
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2018-08-14 22:58:47
On 08/14/18 18:42, Robert Ramey via Boost wrote:
> I'm preparing to make adjustments to safe_numerics directory and
> namespace in preparation to incorporating safe_numerics into the
> official boost distributions.Â I have a couple of decisions to make
> that someone/everyone will want to weigh in on.
> There is already a directory boost_root/libs/numeric which seems to be
> an "umbrella" for libraries dealing with numerics.Â It includes
> conversion, interval, odeint and ublas.Â There is an index.html in
> there also.Â But instead of referring to the above libraries, it
> points to the ublas documentation.
> So it's sort of tempting the place safe numerics in libs as a sub
> directory.Â But I really have strong reservations about the whole
> concept of have this "umbrella" directory in the first place.
> Personally I'd just prefer to use boost_root/libs/safe_numerics.Â I
> don't think the extra structure adds anything and makes it harder to
> implement tools which scan the directories.Â It would also mean that I
> should ? use #include <boost/numeric/safe_numeric/ ....> and I'm not
> sure want to do that.
I fully agree, for all the reasons you provide. I've been getting into
the ublas project over recent months (mentored two GSoC students working
on Boost.uBLAS), and was thinking about proposing to move it out of the
'numerics/' subdirectory (with suitable proxy headers for backward
compatibility, of course).
> Also I expect I'll want to sync the namespace
> boost::numeric::safe_numeric:: ... with the file system.
> It just seems more complex and flexible than it has to be.Â I see the
> future of boost as diminishing coupling between libraries and I see
> the current setup as not helping with this.
> Please don't wait to answer until I've made the changes.
-- ...ich hab' noch einen Koffer in Berlin...