wait for when ubuntu will get a newer version of gcc? Can't understand what it is about, repros only in specific cases (the cases which run on my CI)
https://wandbox.org/permlink/qTdDFMhQIdFRbAWb
I'm not sure if the compiler "has to" investigate the index expression to find out that the index is always in the array range. If there is no way to do what you're trying to do, in a more clean and simple way, it is safe to ignore this warning, since we are definitely sure that the index is always lower than frequencies.size()
Обсуждают сегодня