verifySentinel

Coerce the given array to a SentinelPtr. It checks and asserts if the given array does not contain the sentinel value at array.ptr[array.length].

  1. auto verifySentinel [@property getter]
  2. auto verifySentinel [@property getter]
    @property @system
    verifySentinel
    (
    alias sentinelValue
    T
    )
    (
    T[] array
    )
    if (
    is(typeof(sentinelValue == T.init))
    )

Meta