Is removing elements of AA in foreach loop safe?

XavierAP n3minis-git at yahoo.es
Fri Aug 30 13:49:17 UTC 2019


> On Thursday, 29 August 2019 at 10:11:58 UTC, berni wrote:
>>
>> Do you agree? Or is there a better way to achieve this?

An alternative would be to reassign the AAA to the output of 
std.algorithm.filter()... but assignment between AAs and Ranges 
isn't so type-direct.


More information about the Digitalmars-d-learn mailing list