Zth (libzth)
Loading...
Searching...
No Matches
arch_generic.h
Go to the documentation of this file.
1
#ifndef ZTH_CONTEXT_ARCH_GENERIC_H
2
#define ZTH_CONTEXT_ARCH_GENERIC_H
3
/*
4
* SPDX-FileCopyrightText: 2019-2026 Jochem Rutgers
5
*
6
* SPDX-License-Identifier: MPL-2.0
7
*/
8
9
#ifndef ZTH_CONTEXT_CONTEXT_H
10
# error This file must be included by libzth/context/context.h.
11
#endif
12
13
#ifdef __cplusplus
14
15
namespace
zth
{
16
namespace
impl {
17
18
template
<
typename
Impl>
19
class
ContextArch :
public
ContextBase<Impl> {
20
public
:
21
typedef
ContextBase<Impl>
base
;
22
23
protected
:
24
constexpr
explicit
ContextArch
(
ContextAttr
const
&
attr
) noexcept
25
:
base
(
attr
)
26
{}
27
};
28
29
}
// namespace impl
30
}
// namespace zth
31
#endif
// __cplusplus
32
#endif
// ZTH_CONTEXT_ARCH_GENERIC_H
zth::impl::ContextArch::ContextArch
constexpr ContextArch(ContextAttr const &attr) noexcept
Definition
arch_generic.h:24
zth::impl::ContextArch::base
ContextBase< Impl > base
Definition
arch_generic.h:21
zth::impl::ContextBase
Base class of the Context.
Definition
context.h:68
zth::impl::ContextBase::attr
ContextAttr & attr() noexcept
Return the context attributes, requested by the user.
Definition
context.h:143
zth
Definition
allocator.h:22
zth::ContextAttr
Definition
context.h:69
include
libzth
context
arch_generic.h
Generated by
1.9.8