Function BasicString.ptr
Return pointer to the first element.
The pointer returned may be invalidated by further calls to other member functions that modify the object.
Examples
BasicString!char str = "123";
char* ptr = str .ptr;
assert(ptr[0 .. 3] == "123");