a std.experimental.allocator.RCIAllocator or std.experimental.allocator.RCISharedAllocator allocator object
input range
Complexity: O(n), where n is the number of elemtns of the input range.
import std.range : take; import std.utf : byCodeUnit; auto s = RCString("dlang".byCodeUnit.take(10)); assert(s.equal("dlang"));
Constructs a qualified rcstring out of an input range 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.