3 ms·
Yes - C++ can be complicated. However it doesn't have to be. There's nobody forcing you to use templates......
by xiaodai 4y ago
Yes - C++ can be complicated. However it doesn't have to be. There's nobody forcing you to use templates......
- pradn 4y agoThis is true, though. You can write most programs with simple use of types as template rags for containers, and defining only simple templates, where you just abstract over the given type itself in a “find and replace” way (no type traits, sfinae, template overload / recursion stuff).
- csande17 4y agoC++ can be unsafe. However it doesn't have to be. There's nobody forcing you to use pointers...
- deleted 4y ago[deleted]