sameMem

Memory comparison, input insensitive

pure
bool
sameMem
(
T
)
(
in T* p1
,
in T* p2
,
in size_t n
)
if (
!isPointer!T
)

Parameters

p1 T*

a pointer to an array

p2 T*

a pointer to another array

n size_t

the number of Ts in p1 and p2

Return Value

Type: bool

true iff p1i == p2i forall i in [0...n)

Meta