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
15namespace zth {
16namespace impl {
17
18template <typename Impl>
19class ContextArch : public ContextBase<Impl> {
20public:
22
23protected:
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
constexpr ContextArch(ContextAttr const &attr) noexcept
ContextBase< Impl > base
Base class of the Context.
Definition context.h:68
ContextAttr & attr() noexcept
Return the context attributes, requested by the user.
Definition context.h:143