input string
Complexity: O(m), where m is the number of bytes of the input string.
import std.algorithm.comparison : equal; auto s = RCString("dlang"); assert(s.by!char.equal("dlang"));
import std.algorithm.comparison : equal; auto s = RCString("dlang"d); assert(s.by!char.equal("dlang"));
import std.algorithm.comparison : equal; auto s = RCString("dlang"w); assert(s.by!char.equal("dlang"));
Constructs a qualified rcstring out of a string that will use the provided allocator object. For immutable objects, a RCISharedAllocator must be supplied. If no allocator is passed, the default allocator will be used.