On 25/01/2019 10:34 PM, AndreasDavour wrote:
How am I supposed to use that??

   auto point3 = getResponse!Point!int("What's the point? ");

auto point3 = getResponse!(Point!int)("What's the point? ");

   auto point4 = getResponse!Point!int("What's the point? ");
   writeln("Distance: ", point3.distanceTo(point4));

generates the error:

struct_templates.d(48): Error: multiple ! arguments are not allowed
struct_templates.d(49): Error: multiple ! arguments are not allowed

Which makes me wonder about the syntax.

Reply via email to