cpp/chrono/duration/round

Returns the value representable in  that is the closest to. If there are two such values, returns the even value (that is, the value such that ).

The function does not participate in the overload resolution unless is a specialization of std and  is

Return value
rounded to the nearest duration of type, rounding to even in halfway cases.