how to sort the container Array from std.container

rikki cattermole rikki at cattermole.co.nz
Wed Jun 6 14:29:28 UTC 2018


On 07/06/2018 2:27 AM, Flaze07 wrote:
> On Wednesday, 6 June 2018 at 14:24:15 UTC, rikki cattermole wrote:
>> On 07/06/2018 2:20 AM, Flaze07 wrote:
>>> On Wednesday, 6 June 2018 at 14:06:54 UTC, rikki cattermole wrote:
>>>> On 07/06/2018 1:58 AM, Flaze07 wrote:
>>>>> [...]
>>>>
>>>> Yes.
>>>
>>> hmm, and sorry for asking more, what about removing an element from 
>>> it ? I found no remove operation that can remove from the middle ( 
>>> removeAny and removeBack both removes the latest element, 
>>> linearRemove receive Array!uint...which  don't know how to provide )
>>
>> filter will remove any and all occurrences of whatever you tell it to. 
>> But only in the range not the origin data structure.
> 
> what about removing certain index ?

Indexes and ranges don't usually go together.


More information about the Digitalmars-d-learn mailing list