On 11.08.19 18:11, DanielG wrote:
auto x = whatever[2].filter(x => x > 7); // error
You just forgot an exclamation mark here. auto x = whatever[2].filter!(x => x > 7); // works
ag0aep6g via Digitalmars-d-learn Sun, 11 Aug 2019 09:36:27 -0700
On 11.08.19 18:11, DanielG wrote:
auto x = whatever[2].filter(x => x > 7); // error
You just forgot an exclamation mark here. auto x = whatever[2].filter!(x => x > 7); // works