Incorrect cast - is it the cast or the use which is undefined behavior – stackoverflow.com

If I do a cast from a Base to a Derived type, but the Base type isn't an instance of derived type, but only use the result if it is, do I get undefined behaviour? Hard to understand what I'm asking? ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Incorrect cast - is it the cast or the use which is undefined behavior – stackoverflow.com"