[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: clang compiler warnings
From: |
Werner LEMBERG |
Subject: |
Re: clang compiler warnings |
Date: |
Tue, 27 Feb 2024 13:42:40 +0000 (UTC) |
>> OK, but don't repeat the type.
>>
>> inline constexpr auto VPOS = vsize (-1);
>>
>
> Well. To that, yes and no. I read it better in the original way,
> [...]
I'm on Dan's side here: Using 'auto' tells me that the right-hand
side's type is exactly the one on the left-hand side, and I can stop
thinking about it immediately.
Werner