Boost logo

Boost :

Subject: Re: [boost] [Math/Special Functions] Is there any interest in the Lambert W function?
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-09-26 03:49:04


>> 2) There is use of std::arrayin the code. I believe that one ofthe
>> strengths of Boost.Math is compatibility with C++03.You might
>> consider replacing <array> and std::arraywith <boost/array.hpp> and
>> boost::array. This is because<array> and std::array are only
>> available in C++11 or beyond.
>
> You could also pretty easily use my CXX Dual library (
> https://github.com/eldiener/cxx_dual.git) to use std::array when it is
> available, otherwise boost::array.
>

Or just use BOOST_NO_CXX11_HDR_ARRAY to select one of two typedefs. Or
else just use boost::array - it works just fine and isn't going anywhere.

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk