expandMacro

Expands macro variables contained within a str

  1. T expandMacro(T str, Func mapFunc)
  2. T expandMacro(T str, Func mapFunc)
    T
    expandMacro
    (
    bool keepUnmatched
    T
    Func
    )
    (
    in T str
    ,
    Func mapFunc
    )
    if (
    isSomeString!T &&
    isCallable!Func
    &&
    is(ReturnType!Func : T)
    &&
    ParameterTypeTuple!Func.length >= 1
    &&
    is(T : ParameterTypeTuple!Func[0])
    )
  3. T expandMacro(T str, MAP map)

Meta