Searched refs:as_array (Results 1 – 4 of 4) sorted by relevance
51 alias as_array this; in array()72 … { static if (N > 0) { return this[0]; } else { return as_array()[][0]; /* HACK: … in array()74 … { static if (N > 0) { return this[N-1]; } else { return as_array()[][0]; /* HACK: … in array()81 ref inout(T)[N] as_array() inout @safe { return _Elems[0 .. N]; } in array()93 ref inout(T)[N] as_array() inout @trusted { return data()[0 .. N]; } in array()113 ref inout(T)[N] as_array() inout @trusted { return data()[0 .. N]; } in array()
66 …ref inout(T) opIndex(size_t index) inout pure nothrow @safe @nogc { return as_array[index]; } in vector()68 …inout(T)[] opIndex(size_t[2] slice) inout pure nothrow @safe @nogc { return as_array[slice[0]… in vector()70 inout(T)[] opIndex() inout pure nothrow @safe @nogc { return as_array(); } in vector()73 …ref vector opAssign(U)(auto ref vector!(U, Alloc) s) { opAssign(s.as_array); re… in vector()84 … void opIndexAssign()(auto ref T val, size_t index) { as_array[index] = val; } in vector()86 …void opIndexAssign()(auto ref T val, size_t[2] slice) { as_array[slice[0] .. sli… in vector()88 …void opIndexAssign(T[] val, size_t[2] slice) { as_array[slice[0] .. sli… in vector()90 void opIndexAssign()(auto ref T val) { as_array[] = val; } in vector()92 void opIndexAssign(T[] val) { as_array[] = val[]; } in vector()106 ref inout(T) front() inout pure nothrow @safe @nogc { return as_array[0]; } in vector()[all …]
74 alias as_array this;76 alias toString = as_array;93 const(T)[] as_array() const @trusted { return __data[0 .. __size]; } in as_array() function
148 alias toString = as_array;164 …ref inout(T) opIndex(size_t index) inout pure nothrow @safe @nogc { return as_array[index]; } in inout()166 …inout(T)[] opIndex(size_t[2] slice) inout pure nothrow @safe @nogc { return as_array[slice[0]… in inout()168 inout(T)[] opIndex() inout pure nothrow @safe @nogc { return as_array(); } in inout()171 …Equals(scope const ref basic_string s) const pure nothrow @safe { return as_array == s.as_array; } in opEquals()173 … bool opEquals(scope const T[] s) const pure nothrow @safe { return as_array == s; } in opEquals()176 …e const ref basic_string rhs) const pure nothrow @safe { return __cmp(as_array, rhs.as_array); } in opCmp()178 …int opCmp(scope const T[] rhs) const pure nothrow @safe { return __cmp(as_array, r… in opCmp()182 …ze_t toHash() const @nogc nothrow pure @safe { return .hashOf(as_array); } in toHash()213 …ref basic_string opIndexAssign(T c, size_t index) { as_array[index] = c; ret… in opIndexAssign()[all …]