My apologies.
I tried to display that undefined behavior behind an implementation only to further the idea C++ (whether through its C roots or not is irrelevant) also has its share of undefined behavior and no compiler warnings, as seems to be Elysia's major gripe with C and her crusade to rid the world of C textbooks.
Perhaps I overdid it. So apologies again.
But I feel It could go much further. It is often said of C++ that with C you are given a gun with which you can accidentally shoot your own foot, but with C++ you can blow your whole leg off (or some variation of this). If we were to crusade against languages for their inherent general-purpose idiosyncrasies, there would not be any programming languages in the world and not even interpreted languages would have a chance at being developed.