4 ms·
> A reference is just a pointer in disguise, and so can still be null if created from a pointer. References cannot be null legally.
by dataflow 5y ago
> A reference is just a pointer in disguise, and so can still be null if created from a pointer.
References cannot be null legally.
- bluGill 5y agoTrue, but I've seen people exploit undefined behavior to make a null reference. Please don't ask me to explain it, someone might think they understand it and try it.