Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualÁlvaro

Posted 03 December 2012 - 12:04 PM

Keep the objects as objects and not pointers, and use an initializer list in the constructor of OtherClass.

EDIT: By the way, the syntax you think the compiler wants wouldn't work...

#1Álvaro

Posted 03 December 2012 - 12:04 PM

Keep the objects as objects and not pointers, and use an initializer list in the constructor of OtherClass.

PARTNERS