tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
decl.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2// SPDX-FileCopyrightText: Copyright (C) 2019 Tobias Hienzsch
3
4#ifndef TETL_TYPETRAITS_DECL_HPP
5#define TETL_TYPETRAITS_DECL_HPP
6
7namespace etl {
8// primary type categories:
9template <typename T>
10struct is_void;
11template <typename T>
12struct is_null_pointer;
13template <typename T>
14struct is_integral;
15template <typename T>
16struct is_floating_point;
17template <typename T>
18struct is_array;
19template <typename T>
20struct is_pointer;
21template <typename T>
22struct is_lvalue_reference;
23template <typename T>
24struct is_rvalue_reference;
25template <typename T>
26struct is_member_object_pointer;
27template <typename T>
28struct is_member_function_pointer;
29template <typename T>
30struct is_enum;
31template <typename T>
32struct is_union;
33template <typename T>
34struct is_typename;
35template <typename T>
36struct is_function;
37
38// composite type categories:
39template <typename T>
40struct is_reference;
41template <typename T>
42struct is_arithmetic;
43template <typename T>
44struct is_fundamental;
45template <typename T>
46struct is_object;
47template <typename T>
48struct is_scalar;
49template <typename T>
50struct is_compound;
51template <typename T>
52struct is_member_pointer;
53
54template <typename T>
55constexpr auto swap(T& a, T& b) noexcept -> void;
56
57} // namespace etl
58
59#endif // TETL_TYPETRAITS_DECL_HPP
Definition adjacent_find.hpp:9
constexpr auto swap(T &a, T &b) noexcept -> void
Exchanges the given values. Swaps the values a and b. This overload does not participate in overload ...
Definition swap.hpp:26