Returns whether the backs of lhs and rhs both refer to the same place in memory, making one of the arrays a slice of the other which end at index $.
the first array to compare
the second array to compare
true if both arrays are the same length and lhs.ptr == rhs.ptr, false otherwise.
auto a = [1, 2, 3, 4, 5]; auto b = a[3..$]; assert(a.sameTail(b));
See Implementation
Returns whether the backs of lhs and rhs both refer to the same place in memory, making one of the arrays a slice of the other which end at index $.