|
|
|
|
|
by smelterdemon
3162 days 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. |
|