Boost logo

Boost :

From: Ruben Perez (rubenperez038_at_[hidden])
Date: 2024-03-08 11:09:31


> > Aren't these errors in Clang 18 (and presumably 19)?
> >
> >
> >
> > Peter —
> >
> > Are you thinking of
> > https://github.com/boostorg/mpl/issues/69
>
> No, I was thinking of this part from the 18 release notes:
>
> "Implemented P2864R2 Remove Deprecated Arithmetic Conversion on Enumerations From C++26."
>
> https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2864r2.pdf
>
> (https://prereleases.llvm.org/18.1.0/rc3/tools/clang/docs/ReleaseNotes.html)
>
> but I now notice that this says C++26 and Ruben used C++23.

Yes, these are the conversions I'm referring to. According to
cppreference, these are deprecated in C++20 and 23, and removed in
C++26. See https://en.cppreference.com/w/cpp/language/usual_arithmetic_conversions.
I guess this is why we're getting just warnings.


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