| 230 | |
| 231 | template<typename T> |
| 232 | Point<T> Point<T>::operator*(const T value) const |
| 233 | { |
| 234 | try |
| 235 | { |
| 236 | return Point<T>{T(x * value), T(y * value)}; |
| 237 | } |
| 238 | catch (const std::exception& e) |
| 239 | { |
| 240 | error(e.what(), __LINE__, __FUNCTION__, __FILE__); |
| 241 | return Point<T>{}; |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | template<typename T> |
| 246 | Point<T>& Point<T>::operator/=(const T value) |