make_shared

Undocumented in source. Be warned that the author may not have intended to support it.
  1. shared_ptr!(T) make_shared(T value, void function(T*) df)
    make_shared
    (
    T
    )
    (
    auto ref T value
    ,
    void function
    (
    T*
    )
    df = &_def_del!(T)
    )
    if (
    !is(T : U*,
    U
    )
    )
  2. shared_ptr!(T) make_shared(void function(T*) df, Args args)
  3. shared_ptr!(T) make_shared(Args args)
  4. shared_ptr!(T) make_shared(T* p, void function(T*) df)

Meta