3 ms·
I guess a serious point is that modern C++ does "deprecate" raw pointers in the sense that their use is discouraged outside of interfacing with external librari
by ChrisSD 9y ago
I guess a serious point is that modern C++ does "deprecate" raw pointers in the sense that their use is discouraged outside of interfacing with external libraries or old C++ code.
But that's more the realm of linters than compiler warnings.
- xwvvvvwx 9y agoI'm not sure that's quite true. Raw pointers are fine if you need a nullable non-owning reference type.