Re: Norms methods
John Maddock via Boost-users <[email protected]>
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <[email protected]> |
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.