Enum member areCompatible
Returns true
if
S[0]
is a source and
S[1]
is a sink and they both use the same
method of passing data.
Declaration
enum areCompatible(S...) = isPeekSource!(S[0]) && isPeekSink!(S[1]) || isPullSource!(S[0]) && isPullSink!(S[1]) || isAllocSource!(S[0]) && isAllocSink!(S[1]) || isPushSource!(S[0]) && isPushSink!(S[1]);
Authors
Copyright
© 2016 Adrian Matoga