tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
chrono.cpp
// SPDX-License-Identifier: BSL-1.0
#undef NDEBUG
#include <etl/cassert.hpp>
#include <etl/chrono.hpp>
auto main() -> int
{
using namespace etl::literals;
assert(etl::chrono::hours(1) == 60_min);
return 0;
}
#define assert(...)
Definition cassert.hpp:19
duration< int_least32_t, ratio< 3600 > > hours
Signed integer type of at least 23 bits.
Definition duration.hpp:362
Definition day.hpp:116