# Difference between -\> and

**URL:** <https://forums.unrealengine.com/t/difference-between-and/353752>\
**Category:** C++\
**Tags:** unreal-engine, CPP, question\
**Created:** [April 11, 2016, 12:07pm UTC](https://forums.unrealengine.com/t/difference-between-and/353752 "2016-04-11T12:07:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RadinQue](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RadinQue](https://forums.unrealengine.com/u/RadinQue)\
**Post date:** [April 11, 2016, 12:07pm UTC](https://forums.unrealengine.com/t/difference-between-and/353752/1 "2016-04-11T12:07:55Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![ryanjon2040](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ryanjon2040/32/906587_2.png) [@ryanjon2040](https://forums.unrealengine.com/u/ryanjon2040)\
**Post date:** [April 11, 2016, 12:34pm UTC](https://forums.unrealengine.com/t/difference-between-and/353752/2 "2016-04-11T12:34:46Z")

</div>

Rama (C++ God) wrote a great article about this matter :). Please check it out here:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> 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...

" **→**" 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.

---

<div class="post-metadata">

**Author:** ![RadinQue](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RadinQue](https://forums.unrealengine.com/u/RadinQue)\
**Post date:** [April 11, 2016, 12:48pm UTC](https://forums.unrealengine.com/t/difference-between-and/353752/3 "2016-04-11T12:48:50Z")

</div>

Lots of thanks to you! 🙂 Now it is totally clean!

---

<div class="post-metadata">

**Author:** ![ryanjon2040](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ryanjon2040/32/906587_2.png) [@ryanjon2040](https://forums.unrealengine.com/u/ryanjon2040)\
**Post date:** [April 11, 2016, 12:50pm UTC](https://forums.unrealengine.com/t/difference-between-and/353752/4 "2016-04-11T12:50:06Z")

</div>

Great to hear that :). Happy coding! 🙂
