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

Meta