3 ms·
Reminds me of the weird C++ map operator[] behavior. If you use that operator and the value doesn't exist, it'll default create one and return a reference to t
by OptionOfT 5mo ago
Reminds me of the weird C++ map operator[] behavior.
If you use that operator and the value doesn't exist, it'll default create one and return a reference to that.
And as I'm writing this I realize why... references cannot be `null`.