CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2003
    Location
    Bangalore, India
    Posts
    6

    Question Subclassing the Singleton class

    Hi everyone out there !

    Could anyone tell me whether I can subclass a singleton class ? If so, how do I ensure that when instances of the derived class are created, each instance holds the reference of only one instance of A ?


    Shobhana

  2. #2
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652
    Please do not cross-post your questions...this was answered here...

  3. #3
    Join Date
    Jan 2003
    Location
    Bangalore, India
    Posts
    6
    Hi Andreas Masur,

    I posted my question in both the sections (C++ and Java) just to have a better chance of my question getting answered. No other intentions. I am sorry if I took your precious time.

    Regards,
    Shobhana

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