How to cleanup array of structs?
Suliman via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jun 2 06:32:02 PDT 2017
I remember that there was topic about remobing data from
struct/arrays of structs. But I do not remember what is idiomatic
way to do it, and can't google it.
something like:
struct MyTrack
{
ulong id;
string recordDate;
int velocity;
int maxAllowedSpeedForRoad;
}
MyTrack mytrack;
MyTrack [] mytracks;
// filling
mytracks.clean() or what?
More information about the Digitalmars-d-learn
mailing list