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
11
#
include
"arene/base/type_list/concat.hpp"
12
#
include
"arene/base/type_list/remove_duplicates.hpp"
13
14
namespace
arene
{
15
namespace
base
{
16
namespace
type_lists
{
17
18
/// @brief Concatenate multiple lists together with duplicate types removed.
19
/// @tparam Ls The type lists to concatenate
20
template
<
class
...
Ls
>
21
using
concat_unique_t
=
arene
::
base
::
type_lists
::
remove_duplicates_t
<
arene
::
base
::
type_lists
::
concat_t
<
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_
arene::base::type_lists
Definition
apply_all.hpp:14
arene::base
Definition
array_exceptions_disabled.cpp:11
arene
Copyright 2026, Toyota Motor Corporation.
Definition
array_exceptions_disabled.cpp:10
arene
base
type_list
concat_unique.hpp
Generated by
1.13.2