mambo.util.Ctfe

Members

Functions

contains
bool contains(T[] arr, T element)

Returns true if the given array contains the given element, otherwise false.

indexOf
size_t indexOf(T[] arr, T element)

Compile-time function to get the index of the give element.

indexOf
size_t indexOf(T[] arr, dchar element)

Compile-time function to get the index of the give element.

split
T[][] split(T[] str, T splitChar)

CTFE, splits the given string on the given pattern

Templates

format
template format(ARGS...)
Undocumented in source.

Meta

Authors

Jacob Carlborg

Version

Initial created: Jan 26, 2010