CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2013
    Posts
    31

    Coud any one explain me the following C++ code

    Hello, I am not familiar with the following C++ assignment:

    Manager &m = Manager::self();
    Could any one clarify me ?

    Thanks in advance.

  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Coud any one explain me the following C++ code

    Quote Originally Posted by jenny_wui View Post
    Hello, I am not familiar with the following C++ assignment:

    Manager &m = Manager::self();
    Could any one clarify me ?
    Manager::self() is a function that returns a reference to a Manager.

    Regards,

    Paul McKenzie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured