Notice in example No.4 the following breaks the compile due to undefined behaviors.