assertPred

Undocumented in source. Be warned that the author may not have intended to support it.
  1. void assertPred(L lhs, R rhs, string msg, string file, size_t line)
  2. void assertPred(L lhs, R rhs, string msg, string file, size_t line)
  3. void assertPred(L lhs, R rhs, string msg, string file, size_t line)
    void
    assertPred
    (
    string func
    L
    R
    )
    (
    L lhs
    ,
    R rhs
    ,
    lazy string msg = null
    ,
    string file = __FILE__
    ,
    size_t line = __LINE__
    )
    if (
    func == "opAssign" &&
    __traits(compiles, lhs = rhs)
    &&
    __traits(compiles, lhs == rhs)
    &&
    __traits(compiles, (lhs = rhs) == rhs)
    &&
    isPrintable!L
    &&
    isPrintable!R
    )
  4. void assertPred(L lhs, R rhs, E expected, string msg, string file, size_t line)
  5. void assertPred(L lhs, R rhs, E expected, string msg, string file, size_t line)
  6. void assertPred(T a)
  7. void assertPred(T a, U b)
  8. void assertPred(T args)

Meta