Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
concat_unique.hpp
Go to the documentation of this file.
1// Copyright 2026, Toyota Motor Corporation
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TYPE_LIST_CONCAT_UNIQUE_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TYPE_LIST_CONCAT_UNIQUE_HPP_
7
8// IWYU pragma: private, include "arene/base/type_list.hpp"
9// IWYU pragma: friend "(arene/base(?!/tests)|stdlib/include/stdlib_detail)/.*"
10
13
14namespace arene {
15namespace base {
16namespace type_lists {
17
18/// @brief Concatenate multiple lists together with duplicate types removed.
19/// @tparam Ls The type lists to concatenate
20template <class... Ls>
22
23} // namespace type_lists
24} // namespace base
25} // namespace arene
26
27#endif // INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TYPE_LIST_CONCAT_UNIQUE_HPP_
Definition apply_all.hpp:14
typename concat< Ln... >::type concat_t
collapse L0<T...>, .. Ln<U...> into TypeList<T..., .., U...>
Definition concat.hpp:107
typename remove_duplicates< L0 >::type remove_duplicates_t
Filter a type-list to remove duplicates of elements.
Definition remove_duplicates.hpp:277
arene::base::type_lists::remove_duplicates_t< arene::base::type_lists::concat_t< Ls... > > concat_unique_t
Concatenate multiple lists together with duplicate types removed.
Definition concat_unique.hpp:21
Definition accumulate.hpp:37
Definition accumulate.hpp:36