Quantcast
Channel: Ref Class Question
Viewing all articles
Browse latest Browse all 7

Ref Class Question

$
0
0
Well, the -> operator is used to access members of the class like fields, methods, properties. Size, Name and Colour are nested classes, not class members and in C++ :: is used to access them. It's not an intellisense thing, this is how C++ language works.

Viewing all articles
Browse latest Browse all 7

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>