[Development] (Bikeshed, pedantic) East constexpr vs West constexpr

Mathias Hasselmann mathias at taschenorakel.de
Wed Sep 18 22:00:38 CEST 2024


Am 18.09.2024 um 17:18 schrieb Thiago Macieira:
> Which one are we?
>
> That is,
>    constexpr inline foobar
> or
>    inline constexpr foobar

Why that "inline" attributes at all? For functions and static data 
members the "constexpr" attribute implies "inline" already:
https://timsong-cpp.github.io/cppwp/n4861/dcl.constexpr

What's the reason for this excessive use of redudant "inline" attributes?



More information about the Development mailing list