Rama (C++ God) wrote a great article about this matter :). Please check it out here:
After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...
Reading time: 1 mins 🕑
Likes: 14 ❤
" → " means it is a pointer pointing to a reference on memory that might or might not exist.
“. ” means it is a container that contains actual data (example struct)
:: means it is a class name or namespace.
RadinQue
(RadinQue)
April 11, 2016, 12:07pm
2
Hello guys!
I just want to know what is the difference between → (hyphen and comparison sign to the left) and . (dot). Also I don’t really know when and how can I use :: (double colon). I’m new to this language, and I couldn’t figure it out.
Many thanks for help!
RadinQue
(RadinQue)
April 11, 2016, 12:48pm
3
Lots of thanks to you! Now it is totally clean!
Great to hear that :). Happy coding!