2 ms·
Better not to pun, and use an actual optional where you want it...
by dllthomas 13y ago
Better not to pun, and use an actual optional where you want it...
- jhallenworld 13y agoEh, I like my C idioms. With C++ it's easy to make it safe so that accessing an unassigned string doesn't cause a crash (make NULL equivalent to empty strings except for tests). I have the same gripe with the way the STL is designed. Too tedious to test for empty first before reading an item.
- deleted 13y ago[deleted]