Expected.front

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

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

  1. inout(T) front()
  2. T front()
    struct Expected(T, E = string, Hook = Abort)
    @property ref
    T
    front
    (
    )
    if (
    !is(E == void) &&
    (
    !is(T == void)
    )
    )
  3. bool empty()
  4. void popFront()

Meta