Reflection
Jesse Phillips
jessekphillips+D at gmail.com
Mon Feb 27 23:33:41 PST 2012
On Tuesday, 28 February 2012 at 06:26:38 UTC, Puming wrote:
>> It is a template.
>
> Is a template callable? So what's the isCallable and
> isSomeFunction equivalent for templates?
I suppose it could be considered a bug as it is mostly a
syntactic request/check. I'd expect
assert(isCallable!(writeln!string))
to be true. But as it is callable without explicit
instantiation...
More information about the Digitalmars-d-learn
mailing list