Boost logo

Boost Users :

From: John Maddock (jz.maddock_at_[hidden])
Date: 2022-10-25 16:50:38


On 25/10/2022 09:00, General Magic - Teodora Bogdan via Boost-users wrote:
>
> Hello,
>
> I was using the Boost library and I wanted to call the l2_norm()
> method from "boost/math/tools/norms.hpp", but is says that the
> namespace boost::math::tools doesn't contain l2_norm() method. When I
> looked into it, I saw that the namespaces at the beginning of the file
> were written"boost::math::tools" instead of "namespace boost {
> namespace math { namespace tools {...".
>
They are the same thing from C++17 onward, and the norms.hpp header does
require C++17 in it's implementation.

This should all be documented, but I'll double check.

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net