Lines Matching refs:pure

63     size_t[2] opSlice(size_t dim : 0)(size_t start, size_t end) const pure nothrow @safe @nogc { return [start, end]; }
66 ref inout(T) opIndex(size_t index) inout pure nothrow @safe @nogc { return as_array[index]; }
68 inout(T)[] opIndex(size_t[2] slice) inout pure nothrow @safe @nogc { return as_array[slice[0] .. slice[1]]; }
70 inout(T)[] opIndex() inout pure nothrow @safe @nogc { return as_array(); }
106 ref inout(T) front() inout pure nothrow @safe @nogc { return as_array[0]; }
108 ref inout(T) back() inout pure nothrow @safe @nogc { return as_array[$-1]; }
185 ref inout(Alloc) get_allocator() inout pure nothrow @safe @nogc { return _Getal(); }
188 size_type max_size() const pure nothrow @safe @nogc { return ((size_t.max / T.sizeof) - 1) / 2; } // HACK: clone the windows version precisely?
191 size_type size() const pure nothrow @safe @nogc { return _Get_data()._Mylast - _Get_data()._Myfirst; }
193 size_type capacity() const pure nothrow @safe @nogc { return _Get_data()._Myend - _Get_data()._Myfirst; }
195 bool empty() const pure nothrow @safe @nogc { return _Get_data()._Myfirst == _Get_data()._Mylast; }
197 inout(T)* data() inout pure nothrow @safe @nogc { return _Get_data()._Myfirst; }
199 inout(T)[] as_array() inout pure nothrow @trusted @nogc { return _Get_data()._Myfirst[0 .. size()]; }
201 ref inout(T) at(size_type i) inout pure nothrow @trusted @nogc { return _Get_data()._Myfirst[0 .. size()][i]; }
430 ref inout(_Base.Alloc) _Getal() inout pure nothrow @safe @nogc { return _Base._Mypair._Myval1; }
431 ref inout(_Base.ValTy) _Get_data() inout pure nothrow @safe @nogc { return _Base._Mypair._Myval2; }
485 size_type _Unused_capacity() const pure nothrow @safe @nogc
490 bool _Has_unused_capacity() const pure nothrow @safe @nogc
632 size_type _Calculate_growth(const size_type _Newsize) const pure nothrow @nogc @safe
745 size_type size() const pure nothrow @safe @nogc { return 0; }
746 size_type capacity() const pure nothrow @safe @nogc { return 0; }
747 bool empty() const pure nothrow @safe @nogc { return true; }
749 inout(T)* data() inout pure nothrow @safe @nogc { return null; }
750 inout(T)[] as_array() inout pure nothrow @trusted @nogc { return null; }
751 ref inout(T) at(size_type i) inout pure nothrow @trusted @nogc { data()[0]; }