Loading...
Searching...
No Matches
type_list.hpp
Go to the documentation of this file.
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#include <seqan3/core/detail/template_inspection.hpp>
namespace seqan3
{
// ----------------------------------------------------------------------------
// type_list class
// ----------------------------------------------------------------------------
template <typename... types>
struct type_list
{
using type = type_list;
static constexpr size_t size() noexcept
{
return sizeof...(types);
}
};
} // namespace seqan3
seqan3
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
seqan3::type_list
Type that contains multiple types.
Definition type_list.hpp:26
seqan3::type_list< component_types... >::type
type_list type
Definition type_list.hpp:28
seqan3::type_list::size
static constexpr size_t size() noexcept
The number of types contained in the type list.
Definition type_list.hpp:31
template_inspection.hpp
Provides type traits for working with templates.
Hide me