Jon Stewart on 1 Jul 2003 01:40:01 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [ALACPP] hot or not?


> Make Instance private, and then give a full smart pointer interface, includin
> g
> copy c'tors, equality operators and the like (all of which are trivial). Then
> it works. As is, however, it also encourages singleton-style use, which is
> difficult to refactor.


Of course. So, you agree with the idea of giving monostate a smart pointer 
interface?



Jon
-- 
Jon Stewart
stew1@xxxxxxxxxxx
_______________________________________________
alacpp mailing list
alacpp@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/alacpp