19 static_assert(std::numeric_limits<
decltype(output.get())>::lowest() <= std::numeric_limits<Rep>::lowest(),
20 "capnp type does not have enough range to hold lowest std::chrono::duration value");
21 static_assert(std::numeric_limits<
decltype(output.get())>::max() >= std::numeric_limits<Rep>::max(),
22 "capnp type does not have enough range to hold highest std::chrono::duration value");
23 output.set(value.count());