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

Name

Description

t

The duration to convert.

Created with MrDocs