Debian Codegraph @

tests/dmd/runnable/imports/std11069array.d

raw
1 module imports.std11069array;
2
3 @property bool empty(T)(in T[] a) @safe pure nothrow
4 {
5 return !a.length;
6 }
7
8 void popFront(T)(ref T[] a) @safe pure nothrow
9 {
10 a = a[1 .. $];
11 }
12
13 @property ref T front(T)(T[] a) @safe pure nothrow
14 {
15 return a[0];
16 }