4 ms·
Interesting to note the difference between C and C++ with regards to the '*' and '&' keys. I know there is a lot of raw pointer and address usage in C, but I'm
by 5hoom 15y ago
Interesting to note the difference between C and C++ with regards to the '*' and '&' keys.
I know there is a lot of raw pointer and address usage in C, but I'm surprised at how little these keys show up in C++.
It's good to see that people are taking advantage of smart pointers ;)
(It's subtle though, so I could be reading too much into it).
- frou_dh 15y agoSeems odd that < and > are said to be used more in C than in C++ (templates).
- deleted 15y ago[deleted]
- pagekalisedown 15y agoIt's common to typedef the templated types you use. ex: typedef std::tr1::smart_ptr< MyClass > MyClassPtr;