> That ship sailed when C declared it UB to dereference a null pointer - which is also only there to enable a minute optimization of removing a load instruction. Absolutely not. What kind of ...
What's the "standard C++" way of doing it? If memory serves, explicit casting doesn't remove the warning. The promotion is safe to do. doesn't change anything. It doesn't help much to tell me to use ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results