Algebraic.trustedGet

Zero cost always nothrow get alternative

  1. auto ref trustedGet()
  2. template trustedGet(RetTypes...)
  3. alias trustedGet(Kind kind) = trustedGet!(AllowedTypes[kind])
  4. auto ref trustedGet()
    struct Algebraic(_Types...)
    ref @trusted @property return inout nothrow
    trustedGet
    (
    E
    )
    ()
    if (
    is(E == T)
    )

Meta