enforceEx

Undocumented in source.

  1. T enforceEx(T value, string file, size_t line)
    template enforceEx(E : Throwable)
    deprecated("Use `enforce`. `enforceEx` will be removed with 2.089.")
    T
    enforceEx
    (
    T
    )
    (,
    string file = __FILE__
    ,
    size_t line = __LINE__
    )
    if (
    is(typeof(new E(string.init, size_t.init))) &&
    !is(typeof(new E("", string.init, size_t.init)))
    )
  2. template enforceEx(E : Throwable)

Members

Functions

enforceEx
T enforceEx(T value, string file, size_t line)

Ditto

Meta

Suggestion Box / Bug Report