message: Add literals for caf::duration
diff: @@ -172,6 +172,29 @@ operator+=(std::chrono::time_point<Clock, Duration>& lhs, const duration& rhs) {
  return lhs;
  }
  +namespace literals {
  +
  +constexpr duration operator""_min(unsigned long long x) {
  + return {time_unit::minutes, static_cast<uint32_t>(x)};
  +}
  +
  +constexpr duration operator""_s(unsigned long long x) {
  + return {time_unit::seconds, static_cast<uint32_t>(x)};
  +}
  +constexpr duration operator""_ms(unsigned long long x) {
  + return {time_unit::milliseconds, static_cast<uint32_t>(x)};
  +}
  +
  +constexpr duration operator""_us(unsigned long long x) {
  + return {time_unit::microseconds, static_cast<uint32_t>(x)};
  +}
  +
  +constexpr duration operator""_ns(unsigned long long x) {
  + return {time_unit::nanoseconds, static_cast<uint32_t>(x)};
  +}
  +
  +} // namespace literals
  +
  } // namespace caf
  #endif // CAF_DURATION_HPP
  