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)
    void
    assertPred
    (
    string func
    string expected
    L
    R
    )
    (
    L lhs
    ,
    R rhs
    ,
    lazy string msg = null
    ,
    string file = __FILE__
    ,
    size_t line = __LINE__
    )
    if (
    func == "opCmp" &&
    (
    expected == "<" ||
    expected == "=="
    ||
    expected == ">"
    )
    &&
    __traits(compiles, lhs.opCmp(rhs))
    &&
    isPrintable!L
    &&
    isPrintable!R
    )
  3. void assertPred(L lhs, R rhs, string msg, string file, size_t line)
  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