The OpenD Programming Language

Algebraic.get

get overload that accept .Algebraic.Kind.

  1. auto get()
  2. inout(AllowedTypes[1]) get()
  3. inout(AllowedTypes[1]) get [@property setter]
  4. auto ref get()
  5. template get(RetTypes...)
  6. alias get(Kind kind) = get!(AllowedTypes[kind])
  7. alias get(immutable(char)[] kind) = get!(__traits(getMember, Kind, kind))
    import mir.algebraic;
    struct Algebraic(T__...)
    static if(typeFieldNames__.length)
    alias get(immutable(char)[] kind) = get!(__traits(getMember, Kind, kind))
  8. auto ref get()

Meta