Sergei Nosov:

Everything's fine if I specify parameters explicitly:
<pre>
test!int hello = test!int(cptr);
</pre>

Some persons have proposed alternative designs, but D is working as currently designed here... Unlike template functions, templated structs don't infer the type.

Bye,
bearophile

Reply via email to