oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
Loading...
Searching...
No Matches
bindings
cpp
ove
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
39
namespace
ove
{
40
41
/* ------------------------------------------------------------------ */
42
/* C++20 Concepts */
43
/* ------------------------------------------------------------------ */
44
53
template
<
typename
F>
54
concept
ThreadEntry
= std::convertible_to<F, void(*)(
void
*)>;
55
56
}
// namespace ove
ove::ThreadEntry
Concept satisfied by any callable convertible to void(*)(void*).
Definition
types.hpp:54
ove
Top-level namespace for all oveRTOS C++ abstractions.
Definition
app.hpp:19
Generated by
1.9.8