oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
Loading...
Searching...
No Matches
types.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2026 Kamil Lulko <kamil.lulko@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 *
6 * This file is part of oveRTOS.
7 */
8
14#pragma once
15
16#include <ove/ove.h>
17#include <cstdint>
18#include <cstddef>
19#include <concepts>
20#include <type_traits>
21#include <utility>
22
39namespace ove {
40
41/* ------------------------------------------------------------------ */
42/* C++20 Concepts */
43/* ------------------------------------------------------------------ */
44
53template <typename F>
54concept ThreadEntry = std::convertible_to<F, void(*)(void*)>;
55
56} // namespace ove
Concept satisfied by any callable convertible to void(*)(void*).
Definition types.hpp:54
Top-level namespace for all oveRTOS C++ abstractions.
Definition app.hpp:19