withDisposed.withDisposed

Undocumented in source. Be warned that the author may not have intended to support it.
  1. auto withDisposed(TDisposable disposable)
    template withDisposed(alias f)
    withDisposed
    (
    TDisposable
    )
    (
    auto ref TDisposable disposable
    )
    if (
    isDisposable!TDisposable
    )
  2. auto withDisposed(TDisposable disposable, void delegate() disposed)

Meta