tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
time_t.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2// SPDX-FileCopyrightText: Copyright (C) 2019 Tobias Hienzsch
3
4#ifndef TETL_CTIME_TIME_T_HPP
5#define TETL_CTIME_TIME_T_HPP
6
7#include <etl/_cstddef/size_t.hpp>
8
9namespace etl {
10
11/// \brief Arithmetic type capable of representing times.
12/// \details Although not defined, this is almost always an integral value
13/// holding the number of seconds (not counting leap seconds)
14/// since 00:00, Jan 1 1970 UTC, corresponding to POSIX time.
15using time_t = etl::size_t;
16
17} // namespace etl
18
19#endif // TETL_CTIME_TIME_T_HPP
Definition adjacent_find.hpp:9