https://issues.dlang.org/show_bug.cgi?id=22110
Issue ID: 22110
Summary: isCallable fails for template opCall without any
templated argument
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
struct Foo
{
auto opCall()() { return 1; }
}
isCallable!Foo is reporting false and it is actually true, because Foo() is
possible.
--
