SeqAn3  3.0.0
The Modern C++ library for sequence analysis.
type_list.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2019, 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 
26 template <typename ... types>
27 using type_list = meta::list<types...>;
28 
29 } // namespace seqan3
30 
31 namespace seqan3::detail
32 {
33 
37 template <typename t>
38 SEQAN3_CONCEPT TypeList = is_type_specialisation_of_v<t, type_list>;
39 
40 } // namespace seqan3::detail
Provides seqan3::type_list and auxiliary type traits.
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:35
meta::list< types... > type_list
Type that contains multiple types, an alias for meta::list.
Definition: type_list.hpp:27