title: Is there a way to use references instead of pointers with classes that contain data to each other?
body: <p><strong>Problem:</strong> Can two different classes contain values of each other without being pointers?
  <br>
  <br>
   I understand that in order for a class to hold another class as data inside of it it needs to know that the other class exists in the code. So this is done by forward declaration. Forward declaration does not mean that it has been defined yet so in order for a class to hold it before it gets defined it needs to be pointing towards it. 
  <br>
  <br>
  I have a couple different valid ways of accomplishing this faultlessly, but I'd preferably use references over raw pointers so I won't have to worry about a pointer getting deleted some where in future code.</p>