Expected.empty

Range interface defined by empty, front, popFront. Yields one value if Expected has value.

If T == void, range interface isn't defined.

  1. bool empty [@property getter]
    struct Expected(T, E = string, Hook = Abort)
    @property const
    static if(!is(T == void))
    static if(!isChecked!Hook)
    bool
    empty
    ()
    if (
    !is(E == void) &&
    (
    !is(T == void)
    )
    )
  2. bool empty [@property getter]
  3. inout(T) front [@property getter]

Meta