Tomasz Kaminski [Monday, 9 February 2026 11:47:59 CET]:
> On Mon, Feb 9, 2026 at 11:38 AM Matthias Kretz <[email protected]>
> wrote:
> > clang-tidy "complained" about several "magic numbers" in the code. I have
> > a
> > patch to resolve some of these.
> 
> Where exactly does it complain? Can you use __int_traits::width instead
> (see <bit> header).

constant expressions and constraints, so yes, a constant expression would 
work. However, it's '__is_integer_nonstrict<long long>::__width' or 
'__int_traits<unsigned long long>::__digits', no?

-- 
──────────────────────────────────────────────────────────────────────────
 Dr. Matthias Kretz                           https://mattkretz.github.io
 GSI Helmholtz Center for Heavy Ion Research               https://gsi.de
 std::simd
──────────────────────────────────────────────────────────────────────────

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to