dkh.ascii
-
Declaration
struct ASCIIString;
ASCII-Only String
Examples
import std.algorithm; import std.range.primitives; auto s = "タネなし手品"; auto asc = s.ASCIIString; assert(s.front == 'タ'); assert(asc.front == "タ"[0]); assert(s.back == '品'); assert(asc.back == "品"[$-1]);
-
Declaration
const ref immutable(char) front();
-
Declaration
const ref immutable(char) back();
-
Declaration
void popFront();
-
Declaration
void popBack();