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

Meta