Lines Matching refs:opCall
91 static if (is(typeof(fun.opCall) == function)) in needOpCallAlias()
133 alias unaryFun = fun.opCall;
166 static bool opCall(int n) { return true; } in opCall() function
179 bool opCall(int n) { return true; } in opCall() function
227 alias binaryFun = fun.opCall;
259 static bool opCall(int x, int y) { return true; } in opCall() function
266 bool opCall(int x, int y) { return true; } in opCall() function
846 static string opCall(string a, string b) { return a ~ b; } in opCall() function
847 int opCall(int a, int b) { return a * b; } in opCall() function
848 double opCall(double a, double b) { return a + b; } in opCall() function
857 auto opCall(A, B)(A a, B b) in opCall() function
937 auto opCall(U : FParams[N])(auto ref U arg) return scope in CurryImpl()
991 int opCall(int x, int y, int z)
1033 double opCall(int x, double y, short z) const pure nothrow @nogc
1056 int opCall(int mult, int add) pure @safe nothrow @nogc scope
1075 void opCall() {}
1717 else static if (is(typeof(&F.opCall) == delegate)
1718 || (is(typeof(&F.opCall) V : V*) && is(V == function)))
1720 return toDelegate(&fp.opCall);
1780 interface I { int opCall(); }
1781 class C: I { int opCall() { inc(myNum); return myNum;} }
1791 struct S1 { int opCall() { inc(myNum); return myNum; } }
1792 static assert(!is(typeof(&s1.opCall) == delegate));
1797 struct S2 { static int opCall() { return 123456; } }
1798 static assert(!is(typeof(&S2.opCall) == delegate));
1800 auto getvals2 =&S2.opCall;