On 05/31/2013 07:32 AM, rmc wrote:

> It is very common to use a function template without the call "()"
> expecting that it will be called.

Non-templated functions too.

> However with the latest compilers
> hibernated only compiles when one leaves out the -property dmd command
> line option.

I think it is the same issue with non-templated functions. The best thing to do is to forget about the -property switch. I did about a year ago and never looked back. :)

If you need to use the -property switch, then define the function with the @property attribute:

@property
void getColumnName(T, string s)() {
    // ..
}

Ali

Reply via email to