[libc-commits] [libc] [libc] fix -Wmissing-braces (PR #77345)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Mon Jan 8 09:45:19 PST 2024
jhuber6 wrote:
> > I meant the iterator type,
>
> Sorry, which of the two iterator types? The return value of `end` or the `IteratableBitMask` itself?
>
> (When we can use c++20, designated initialization can be used to make this crystal clear).
We're using `{0}` it implicitly create the iterator type rather than `iterator{0}` or whatever it is. I was just confused what it's actually trying to turn those arugment into since it just looks like any other uniform initialization
https://github.com/llvm/llvm-project/pull/77345
More information about the libc-commits
mailing list