Big Tummy:

    auto arr = "data.txt".slurp!(string, int)("%s, %s");

Use (I also have added a space after the second %s because slurp is buggy with Windows-style newlines):

auto arr = slurp!(string, int)("data.txt", "%s, %s ");

Bye,
bearophile

Reply via email to