On Saturday, 18 June 2016 at 16:05:53 UTC, Gary Willoughby wrote:
I've tried the following code and I get the error:

you still have to instantiate you `Foo` here:

  auto foo = Foo.of!(string);

no, you can't call even static methods of *uninstantiated* template. uninstantiated template doesn't exist at all. this works, for example:

  auto foo = Foo!int.of!(string);

Reply via email to