orange.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.

Templates

format
template format(ARGS...)

Compile time string converter. Converts the given arguments to a string.

Meta

Authors

Jacob Carlborg

Version

Initial created: Jan 26, 2010