expected

Creates an Expected object from an expected value, with type inference.

  1. Expected!(T, E, Hook) expected(T value)
    @safe
    Expected!(T, E, Hook)
    expected
    (
    E = string
    Hook = Abort
    T
    )
    ()
  2. Expected!(void, E, Hook) expected()
  3. template expected(alias fun, Hook = Abort)

Meta