MSVC’s /experimental:constevalVfuncNoVtable is non-conforming
P1064 “Allowing Virtual Function Calls in Constant Expressions,”
adopted for C++20, permits you to mark virtual functions as constexpr and
then call them at compile-time. In fact, you can even mark them consteval
(also a C++20 feature), which means you can call them only at compile-time.
Thus (Godbolt):
Arthur O’Dwyer