A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/algorithm/../../cpp/symbol_index/../chrono/time_point/ceil.html below:

std::chrono::ceil(std::chrono::time_point) - cppreference.com

Returns the smallest time point t representable in ToDuration that is greater or equal to tp.

The function does not participate in the overload resolution unless ToDuration is a specialization of std::chrono::duration.

[edit] Parameters tp - time point to round up [edit] Return value

tp rounded up to the next time point using duration of type ToDuration.

[edit] Possible implementation [edit] Example

Output:

Time point	Cast	Floor	Round	Ceil
(ms)		(s)	(s)	(s)	(s)
5432		5	5	5	6
5678		5	5	6	6
[edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4