10 ms·
Creating objects in invalid states is definitely not idiomatic C++. I do agree that people are a little too fearful of using bare pointers for optional referen
by smelterdemon 9y ago
Creating objects in invalid states is definitely not idiomatic C++.
I do agree that people are a little too fearful of using bare pointers for optional references, if you're using a linter that will catch possible null dereferences it's often the most sensible technique.