MCPcopy Create free account
hub / github.com/Naios/function2 / make_unique

Function make_unique

test/function2-test.hpp:242–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240
241template <typename T, typename... Args>
242std::unique_ptr<T> make_unique(Args&&... args) {
243 return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
244}
245
246#endif // FU2_INCLUDED_FUNCTION2_TEST_HPP__

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected