sdlLiteralToD

Converts literal to the given D type T. If isSomeString!T, then it will remove the surrounding quotes if they are present.

  1. T sdlLiteralToD(const(char)[] literal)
  2. bool sdlLiteralToD(const(char)[] literal, T t)
    bool
    sdlLiteralToD
    (
    T
    )
    (
    const(char)[] literal
    ,
    ref T t
    )

Return Value

Type: bool

true on succes, false on failure

Meta