I hope this doesn't sound too stupid: What is the purpose of reference-counted strings? For portable code, one cannot depend on fast copy-operations and if one writes code especially for egcs, rope is better anyway. In neither case reference counting would be very useful. -- Thomas Kunert