Re: singleton with "momento"

2014-01-10 Thread FreeSlave
On Thursday, 9 January 2014 at 21:51:46 UTC, Frustrated wrote: Lets suppose I have setup some code to use a singleton object. Now lets suppose I want to duplicate that code(say to run multiple times simultaneously). The singleton pattern itself prevents multiple copies. One would need multipl

singleton with "momento"

2014-01-09 Thread Frustrated
Lets suppose I have setup some code to use a singleton object. Now lets suppose I want to duplicate that code(say to run multiple times simultaneously). The singleton pattern itself prevents multiple copies. One would need multiple instances to be able to run multiple times BUT in the context