binaryFunExt

InplaceComputableStreamを作成する際に有用な、std.functional.binaryFunの拡張です

  1. A binaryFunExt(auto ref A a, auto ref B b)
    ref
    A
    binaryFunExt
    (
    alias op
    A
    B
    )
    (
    auto ref A a
    ,
    auto ref B b
    )
    if (
    is(typeof(mixin (`a` ~ op ~ `=b`)))
    )
  2. A binaryFunExt(auto ref A a, auto ref B b)

Meta