msvc

1 article
sort: new top best
clear filter
0 2/10

MSVC's experimental `/experimental:constevalVfuncNoVtable` compiler flag violates C++20 standards by omitting vtable pointers from polymorphic types with consteval-only virtual functions, causing type traits like `is_polymorphic` to incorrectly report false and breaking RTTI conformance, while the conforming `/experimental:constevalVfuncVtable` flag matches GCC and Clang behavior.

MSVC P1064 Arthur O'Dwyer GCC Clang C++20
quuxplusone.github.io · jandeboevrie · 1 day ago · details · hn