makeSymbolList

Helps build a SymbolList at compile-time.

Use with the global addUnit and addPrefix functions.

makeSymbolList
(
N
Sym...
)
(
Sym list
)

Examples

enum euro = unit!(double, "C");
alias Currency = typeof(euro);
enum dollar = 1.35 * euro;

enum symbolList = makeSymbolList!double(
    withUnit("€", euro),
    withUnit("$", dollar),
    withPrefix("doz", 12)
);

Meta