rafaelrojasmiliani / gsplines_cpp

Generalized Splines for Motion Optimization in C++ and python3
MIT License
56 stars 0 forks source link

Implemente simple GSpline linear operations with SFINAE #50

Open rafaelrojasmiliani opened 2 years ago

rafaelrojasmiliani commented 2 years ago
template <typename T, typename std::enable_if_t<
                          std::is_base_of_v<GSplineBase, T>> * = nullptr>
T operator*(double _a, const T &_that);

template <typename T, typename std::enable_if_t<
                          std::is_base_of_v<GSplineBase, T>> * = nullptr>
T operator*(double _a, T &&_that);