Paralysis of analysis

Jonathan Schmidt-Dominé devel at the-user.org
Tue Dec 14 14:11:11 PST 2010


Jonathan Schmidt-Dominé wrote:

>> I continue to belief, that containers should be value-types. In order
>> to prevent useless copying you can use something like "Impl * impl"
>> and reference-counting. Then you only do a copy on actual change. This
>> is the way I'm currently implementing in my own container-classes.
> From my point of view reference counting is not very elegant.
However, maybe reference counting is a feasible way to go before better 
times will arise.


More information about the Digitalmars-d mailing list