Searched refs:isDelegate (Results 1 – 11 of 11) sorted by relevance
351 enum hasIndirections = isPointer!T || isDelegate!T || isDynamicArray!T || in hasIndirections()372 …enum hasUnsharedIndirections = isDelegate!T || __traits(isAssociativeArray, T); // TODO: how to ha… in hasUnsharedIndirections()448 template isDelegate(T...)454 enum bool isDelegate = true; variable459 enum bool isDelegate = is(W == delegate); variable462 enum bool isDelegate = false; variable
1183 static if (!isFunctionPointer!func && !isDelegate!func2142 if (isFunctionPointer!T || isDelegate!T)2165 static if (isDelegate!T)2231 if (isFunctionPointer!T || isDelegate!T)3002 enum isAliasingDelegate = isDelegate!T3103 enum hasIndirections = isPointer!T || isDelegate!T || isDynamicArray!T ||3221 enum bool unsharedDelegate = isDelegate!T6619 template isDelegate(T...)6625 enum bool isDelegate = true;6630 enum bool isDelegate = is(W == delegate);[all …]
164 static assert(isFunctionPointer!t1 || isDelegate!t1); in checkops()176 static assert(isFunctionPointer!t2 || isDelegate!t2); in checkops()
487 static if (!isFunctionPointer!A && !isDelegate!A) in VariantN()
3976 if (isDelegate!T)
1317 static if (!isFunctionPointer!func && !isDelegate!func2331 if (isFunctionPointer!T || isDelegate!T)2354 static if (isDelegate!T)2422 if (isFunctionPointer!T || isDelegate!T)3323 enum isAliasingDelegate = isDelegate!T3603 enum bool unsharedDelegate = isDelegate!T7455 enum bool isDelegate(alias T) = is(typeof(T) == delegate) || is(T == delegate);7465 assert(isDelegate!dg);7466 assert(isDelegate!(int delegate()));7467 assert(isDelegate!(typeof(&func)));[all …]
236 static assert(isFunctionPointer!t1 || isDelegate!t1, in checkops()
586 static if (!isFunctionPointer!A && !isDelegate!A) in VariantN()
1404 void setDelegateInitCall(bool isDelegate) { IsDelegateInitCall = isDelegate; } in setDelegateInitCall() argument
3253 if (isDelegate!T)
11519 import std.traits : isDelegate, isFunctionPointer;11532 static if (isFunctionPointer!_fun || isDelegate!_fun)