Why this eponymous template does not compile?

Bastiaan Veelo Bastiaan at Veelo.net
Mon Mar 25 10:31:01 UTC 2019


On Monday, 25 March 2019 at 09:27:03 UTC, Victor Porton wrote:
> /tmp/temp_7F3C101460D0.d(9,5): Error: template instance 
> `synchronizedMemoize!f` template `synchronizedMemoize` is not 
> defined, did you mean sychronizedMemoize(alias fun)()?
>
> Why the error?

Sometimes, template error messages are hard to get. But this one 
is pretty clear, to the point that it is difficult for a human to 
point out clearer. :o)



More information about the Digitalmars-d-learn mailing list