SeqAn3  3.0.2
The Modern C++ library for sequence analysis.
type_list.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik
4 // This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5 // shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6 // -----------------------------------------------------------------------------------------------------
7 
13 #pragma once
14 
15 #include <meta/meta.hpp>
16 
18 
19 namespace seqan3
20 {
21 
22 // ----------------------------------------------------------------------------
23 // type_list class
24 // ----------------------------------------------------------------------------
25 
30 template <typename ...types>
31 using type_list = meta::list<types...>;
32 
33 } // namespace seqan3
34 
35 namespace seqan3::detail
36 {
37 
38 // ----------------------------------------------------------------------------
39 // type_list_specialisation concept
40 // ----------------------------------------------------------------------------
41 
45 template <typename t>
46 SEQAN3_CONCEPT type_list_specialisation = is_type_specialisation_of_v<t, type_list>;
47 
48 } // namespace seqan3::detail
seqan3::type_list
meta::list< types... > type_list
Type that contains multiple types, an alias for meta::list.
Definition: type_list.hpp:31
template_inspection.hpp
Provides seqan3::type_list and auxiliary type traits.
seqan3
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29