5 template <
typename T,
typename... Args>
7 return std::unique_ptr<T>(
new T(std::forward<Args>(
args)...));
11 constexpr
double deg2rad(
double deg) {
return deg * M_PI / 180.0; }
14 constexpr
double rad2deg(
double rad) {
return rad * 180.0 / M_PI; }
constexpr double deg2rad(double deg)
constexpr double rad2deg(double rad)
std::unique_ptr< T > make_unique(Args &&...args)