| 814 | |
| 815 | template <class T> |
| 816 | inline TDuration operator*(TDuration d, T t) noexcept { |
| 817 | Y_ASSERT(t >= T()); |
| 818 | Y_ASSERT(t == T() || Max<TDuration::TValue>() / t >= d.GetValue()); |
| 819 | return TDuration::FromValue(d.GetValue() * t); |
| 820 | } |
| 821 | |
| 822 | template <> |
| 823 | inline TDuration operator*(TDuration d, double t) noexcept { |