Lines Matching refs:Args
80 template<class T, class... Args>
81 unique_ptr<T> make_unique(Args&&... args) {
83 return unique_ptr<T>(new (allocate<T>()) T(std::forward<Args>(args)...),
95 template<class T, class... Args>
96 shared_ptr<T> make_shared(Args&&... args);
183 template<class... Args>
184 shared_ptr make_shared(Args&& ...args) {
185 return heap_.template make_shared<T>(std::forward<Args>(args)...);
190 template<class... Args>
191 unique_ptr make_unique(Args&& ...args) {
192 return heap_.template make_unique<T>(std::forward<Args>(args)...);
199 template<class T, class... Args>
200 inline Heap::shared_ptr<T> Heap::make_shared(Args&&... args) {
201 return std::allocate_shared<T, Allocator<T>, Args...>(Allocator<T>(*this),
202 std::forward<Args>(args)...);