https://issues.dlang.org/show_bug.cgi?id=22140
Issue ID: 22140
Summary: FunctionTypeOf 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]
Similarly to https://issues.dlang.org/show_bug.cgi?id=22110 , FunctionTypeOf
should also detect templated opCall without any templated argument.
```
struct TemplatedOpCallF { int opCall()(int) { return 0; } }
static assert(is( FunctionTypeOf!TemplatedOpCallF ==
typeof(TemplatedOpCallF.opCall!()) ));
```
--