Re: Static member variable - Singleton Pattern required?



Hi Chris,
The main reason for confusion is that someone else said the code was
OK. So I thought perhaps I had misunderstood something.
As you point out though, all the code in the function will be executed
every time it's called, which isn't what I want - presumably it would
mean that the dataSource variable would be reset every time the
function was called.
Thanks for clarifying.
Mike

.



Relevant Pages

  • Re: Ruhi
    ... I am not suggesting a contradiction, I am suggesting a confusion. ... which is not a reason to study those ... Our teachings should not be confused with ancient philosophy. ...
    (soc.religion.bahai)
  • RE: Hey Microsoft - home appliance my butt!
    ... The reason you can't get a straight answer is it really does vary depending on your hardware. ... All this confusion is taken away with the 610XL so I will answer your below questions with this system in mind... ...
    (microsoft.public.windows.mediacenter)
  • Re: ATWT - CASTING NEWS
    ... all recurring meant was that if the show wanted you and you were ... I think that in DB's case, they never intended on keeping Chris ... whatever reason it's simply not worth it to you. ... but the writing didn't help. ...
    (rec.arts.tv.soaps.cbs)
  • Re: limiting table access and RWOP queries
    ... thanks again Chris, ... > Removing Database Window, AllowBypassKeys, Default Menus, are fundamental ... As important as User-Level Security, ... > (One reason for security is solely economic. ...
    (microsoft.public.access.security)
  • Re: Cross your fingers, cross your toes ...
    ... how did the job interview go? ... But the reason they didn't want me was ... I didn't see the original London Chris posting his pictures (but maybe I ...
    (soc.motss)