Lines Matching refs:Args
78 template <class T, class... Args>
79 unique_ptr<T> make_unique(Args&&... args) { in make_unique()
81 return unique_ptr<T>(new (allocate<T>()) T(std::forward<Args>(args)...), [impl](void* ptr) { in make_unique()
92 template <class T, class... Args>
93 shared_ptr<T> make_shared(Args&&... args);
170 template <class... Args>
171 shared_ptr make_shared(Args&&... args) { in make_shared()
172 return heap_.template make_shared<T>(std::forward<Args>(args)...); in make_shared()
177 template <class... Args>
178 unique_ptr make_unique(Args&&... args) { in make_unique()
179 return heap_.template make_unique<T>(std::forward<Args>(args)...); in make_unique()
186 template <class T, class... Args>
187 inline Heap::shared_ptr<T> Heap::make_shared(Args&&... args) { in make_shared()
188 return std::allocate_shared<T, Allocator<T>, Args...>(Allocator<T>(*this), in make_shared()
189 std::forward<Args>(args)...); in make_shared()