Template Function marian::New(Args&&…)

Function Documentation

template<class T, typename ...Args>
Ptr<T> marian::New(Args&&... args)

Creates shared_ptr of any type, passes all arguments to any available constructor.