isMemoryOverlapping

Does memory slices a[0..a_size] and b[0..b_size] have an overlapping byte?

  1. bool isMemoryOverlapping(const(void)* a, ptrdiff_t a_size, const(void)* b, ptrdiff_t b_size)
    pure @trusted
    bool
    isMemoryOverlapping
    (
    const(void)* a
    ,
    ptrdiff_t a_size
    ,
    const(void)* b
    ,
    ptrdiff_t b_size
    )
  2. bool isMemoryOverlapping(const(void)[] a, const(void)[] b)

Meta