The OpenD Programming Language

autoMatchMember

Behaves as matchMember but doesn't enforce at compile time that all types can be handled by the member visitor.

import mir.algebraic;
alias autoMatchMember(string member, TArgs...) = visitImpl!(getMemberHandler!(member, TArgs), Exhaustive.auto_, true)

Return Value

optionally nullable type, null value is used if the member can't be called with provided arguments.

Fuses algebraic types on return.

Meta