> On Sep 19, 2024, at 16:33, Volker Hilsheimer via Development 
> <development@qt-project.org> wrote:
> 
> My preference would be "static constexpr inline”, as static is the most 
> important piece of information (storage and calling convention in case of 
> member functions), constexpr is “good to know”, and inline is in practice 
> mostly an implementation detail.
> 
> It also has the advantage that it keeps code grep-friendly, i.e. I can search 
> for anything “static constexpr” (which for out-of-lined members is the clear 
> preference in existing code), and find everything, even if it’s also inline.

+1 

Tor Arne
-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to