tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
tags.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_MUTEX_TAGS_HPP
4#define TETL_MUTEX_TAGS_HPP
5
6namespace etl {
7
14 explicit defer_lock_t() = default;
15};
16
20inline constexpr auto defer_lock = defer_lock_t{};
21
28 explicit try_to_lock_t() = default;
29};
30
34inline constexpr auto try_to_lock = try_to_lock_t{};
35
42 explicit adopt_lock_t() = default;
43};
44
48inline constexpr auto adopt_lock = adopt_lock_t{};
49
50} // namespace etl
51
52#endif // TETL_MUTEX_TAGS_HPP
constexpr auto try_to_lock
Instances of empty struct tag types. See try_to_lock_t.
Definition tags.hpp:34
constexpr auto defer_lock
Instances of empty struct tag types. See defer_lock_t.
Definition tags.hpp:20
constexpr auto adopt_lock
Instances of empty struct tag types. See adopt_lock_t.
Definition tags.hpp:48
Definition adjacent_find.hpp:8
adopt_lock_t()=default
defer_lock_t()=default
try_to_lock_t()=default