config.util

Undocumented in source.

Members

Functions

findSplitAmong
auto findSplitAmong(R1 seq, R2 choices)
Undocumented in source. Be warned that the author may not have intended to support it.
handleIncludeDirs
auto handleIncludeDirs(R input, string[] includeDirs)

Transforms the given input range by replacing lines that have @include directive with the content of the included file. Filenames are looked for in the list of directories includeDirs. input must be a range of lines (as given e.g. by std.string.lineSplitter)

stripComments
auto stripComments(R input)

strip libconfig comments on a char by char basis

stripComments
auto stripComments(R input)

strip libconfig comments on a line by line basis

unsafeCast
U unsafeCast(T obj)
const(U) unsafeCast(const(T) obj)

down cast of a reference to a child class reference runtime check is disabled in release build

Meta