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()
    struct Expected(T, E = string, Hook = Abort)
    @property
    bool
    empty
    const
    (
    )
    if (
    !is(E == void) &&
    (
    !is(T == void)
    )
    )
  2. inout(T) front()

Meta