It's not everyday you find a compiler bug in msvc. https://godbolt.org/z/aTiv9K
Anybody know how best to report this?
Have ever seen this before?
Thanks for the help troubleshooting this @rob_brink.
This bug is quite interesting if you play with permutations. If the empty base class is the first class derived from, this bug still manifests in the assembly, but because the last derived class has real stuff, it stomps on the empty base class's memset of 1 byte to 0.
-
-
So this bug only causes problems (aside from a few extra asm instructions you don't need) when the /last/ class you derive from is empty.
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.