enforce

Thin wrapper for enforceImpl that deduces file/line as template arguments to avoid ambiguity between overloads.

  1. void enforce(T ok, istring msg)
  2. void enforce(E e, T ok, istring msg)
  3. void enforce(T1 a, T2 b)
    void
    enforce
    (
    E : Exception = Exception
    T1
    T2
    istring file = __FILE__
    int line = __LINE__
    )
    (
    T1 a
    ,
    T2 b
    )
  4. void enforce(E e, T1 a, T2 b)

Meta