On Wednesday, 1 October 2014 at 08:55:55 UTC, Andrei Alexandrescu
wrote:
On 9/30/14, 9:10 AM, Sean Kelly wrote:
Is this for exposition purposes or actually how you expect it
to work?
That's pretty much what it would take. The key here is that
RCString is almost a drop-in replacement for string, so the
code using it is almost identical. There will be places where
code needs to be replaced, e.g.
auto s = "literal";
would need to become
S s = "literal";
So creation of strings will change a bit, but overall there's
not a lot of churn.
I'm confused. Is this a general-purpose solution or just one
that switches between string and RCString?