An array of characters that contains a null-terminator at the length index.
A template that coerces a string literal to a SentinelString. Note that this template becomes unnecessary if the type of string literal is changed to SentinelString.
Create a SentinelPtr from a normal pointer without checking that the array it is pointing to contains the sentinel value.
Coerce the given array to a SentinelArray without verifying that it contains the sentinel value at array.ptr[array.length].
This function converts an array to a SentinelArray. It requires that the last element array[$-1] be equal to the sentinel value. This differs from the function asSentinelArray which requires the first value outside of the bounds of the array array[$] to be equal to the sentinel value. This function does not require the array to "own" elements outside of its bounds.
Coerce the given array to a SentinelPtr. It checks and asserts if the given array does not contain the sentinel value at array.ptr[array.length].
An array with the extra requirement that it ends with a sentinel value at ptr[length].
A pointer to an array with a sentinel value.
Contains types to differentiate arrays with sentinel values.