count_seconds

Return the whole-second count of a seconds duration.

Synopsis

Declared in <util/time.h>

constexpr
int64_t
count_seconds(std::chrono::seconds t);

Return Value

The whole-second count of t.

Parameters

NameDescription
tThe duration to convert.