helper.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
5 template <typename T, typename... Args>
6 std::unique_ptr<T> make_unique(Args&&... args)
7 {
8  return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
9 }
std::unique_ptr< T > make_unique(Args &&...args)
Definition: helper.h:6


ensenso_camera
Author(s): Ensenso
autogenerated on Sat Jul 27 2019 03:51:24