Compiler bug? regression for the template function call syntax
Ali Çehreli
acehreli at yahoo.com
Fri May 31 08:27:19 PDT 2013
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
More information about the Digitalmars-d-learn
mailing list