CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: tkks

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    1,493

    Re: Constructors in a singleton

    Wow, didn't know that. Thanks!
  2. Replies
    8
    Views
    1,493

    Re: Constructors in a singleton

    Oh, I see.

    Thanks a lot, that helped me!
  3. Replies
    8
    Views
    1,493

    Re: Constructors in a singleton

    Multiple copies of what? of the singleton? then no that is the whole reason I want to make all the constructors private.
    So that the compiler won't make default constructors thus allowing people to...
  4. Replies
    8
    Views
    1,493

    Re: Constructors in a singleton

    Well from what I read, if I will not define a private copy constructor a default one will be automatically created and multiple copies of my singleton could be made via it.
    So I defined a private...
  5. Replies
    8
    Views
    1,493

    Constructors in a singleton

    Hi all,

    I need to implement a singleton, so I've been reading about it online and I'm still not quite sure about all the types of constructors I need to declare:



    class my_singleton {...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured